Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008705/0.0008703, allocations: 96.19 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002467/0.0002468, allocations: 11.94 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2247, allocations: 50.39 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.3252, allocations: 77.1 MB / 478.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.3255, allocations: 79.95 kB / 478.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005905/0.3314, allocations: 2.12 MB / 480.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3315, allocations: 3.938 kB / 480.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.3315, allocations: 0 / 480.9 MB, free: 1.191 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004999/0.332, allocations: 383 kB / 481.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.332, allocations: 8.031 kB / 481.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.3321, allocations: 34.52 kB / 481.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.3321, allocations: 7.906 kB / 481.3 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3324, allocations: 197.5 kB / 481.5 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3324, allocations: 7.984 kB / 481.5 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3324, allocations: 4 kB / 481.5 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.3327, allocations: 117.9 kB / 481.6 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3328, allocations: 7.953 kB / 481.6 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.3328, allocations: 0 / 481.6 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3328, allocations: 4 kB / 481.6 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.3329, allocations: 27.92 kB / 481.7 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.3333, allocations: 278.7 kB / 481.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3335, allocations: 71.78 kB / 482 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3335, allocations: 3.953 kB / 482 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3335, allocations: 42.5 kB / 482.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.3335, allocations: 0 / 482.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002841/0.3338, allocations: 89.52 kB / 482.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.3339, allocations: 111.2 kB / 482.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.334, allocations: 129 kB / 482.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.334, allocations: 25.7 kB / 482.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.3341, allocations: 88.12 kB / 482.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.3341, allocations: 11.91 kB / 482.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.3341, allocations: 0 / 482.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.3342, allocations: 312.1 kB / 482.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.3343, allocations: 15.98 kB / 482.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.3344, allocations: 35.42 kB / 482.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.3344, allocations: 19.94 kB / 482.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3344, allocations: 0 / 482.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.3346, allocations: 77.56 kB / 482.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3346, allocations: 8 kB / 483 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3346, allocations: 0 / 483 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3346, allocations: 0 / 483 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.3347, allocations: 15.98 kB / 483 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3347, allocations: 0 / 483 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.3348, allocations: 12.06 kB / 483 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3348, allocations: 0 / 483 MB, free: 14.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/0.3349, allocations: 125.8 kB / 483.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.335, allocations: 49.56 kB / 483.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.335, allocations: 19.8 kB / 483.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.335, allocations: 0 / 483.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3351, allocations: 0 / 483.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3351, allocations: 4 kB / 483.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.3352, allocations: 169.6 kB / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3352, allocations: 8 kB / 483.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.3353, allocations: 15.92 kB / 483.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3353, allocations: 0 / 483.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3353, allocations: 3.953 kB / 483.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3354, allocations: 4 kB / 483.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3354, allocations: 0 / 483.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.3356, allocations: 200.6 kB / 483.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.3357, allocations: 96.94 kB / 483.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3358, allocations: 0 / 483.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.3358, allocations: 4 kB / 483.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.3359, allocations: 11.92 kB / 483.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3359, allocations: 8 kB / 483.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.097e-05/0.336, allocations: 110.2 kB / 483.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.336, allocations: 0 / 483.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000233/0.3362, allocations: 12 kB / 483.8 MB, free: 13.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000702/0.337, allocations: 0.8667 MB / 484.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.3371, allocations: 40.3 kB / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3371, allocations: 0 / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.3372, allocations: 15.98 kB / 484.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3375, allocations: 27.94 kB / 484.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.3388, allocations: 0.9848 MB / 485.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.3392, allocations: 0.6954 MB / 486.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.3393, allocations: 8.172 kB / 486.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.3393, allocations: 15.5 kB / 486.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3393, allocations: 4 kB / 486.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.3558, allocations: 1.395 MB / 487.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.3561, allocations: 207.2 kB / 488.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.87, allocations: 3.938 kB / 488.1 MB, free: 9.574 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat