Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00219/0.002189, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 93.44 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3671/0.3671, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.484e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5251/0.5252, allocations: 58.84 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.6932, allocations: 86.61 MB / 0.5506 GB, free: 12.61 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.6935, allocations: 63.97 kB / 0.5506 GB, free: 12.55 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03006/0.7236, allocations: 6.995 MB / 0.5575 GB, free: 5.551 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7237, allocations: 0 / 0.5575 GB, free: 5.551 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.7237, allocations: 0 / 0.5575 GB, free: 5.551 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005847/0.7243, allocations: 418.3 kB / 0.5579 GB, free: 5.098 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.7243, allocations: 12.03 kB / 0.5579 GB, free: 5.086 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.7246, allocations: 87.27 kB / 0.558 GB, free: 5 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.7248, allocations: 242.3 kB / 0.5582 GB, free: 4.723 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.7249, allocations: 152 kB / 0.5583 GB, free: 4.574 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.725, allocations: 154.6 kB / 0.5585 GB, free: 4.422 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.475e-05/0.7251, allocations: 154.5 kB / 0.5586 GB, free: 4.27 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.556e-05/0.7252, allocations: 101 kB / 0.5587 GB, free: 4.164 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.7252, allocations: 83.28 kB / 0.5588 GB, free: 4.082 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.789e-05/0.7253, allocations: 150.6 kB / 0.5589 GB, free: 3.934 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.7253, allocations: 150.6 kB / 0.5591 GB, free: 3.785 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.7256, allocations: 430.5 kB / 0.5595 GB, free: 3.328 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.7257, allocations: 169.1 kB / 0.5597 GB, free: 3.152 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.7258, allocations: 84.08 kB / 0.5597 GB, free: 3.066 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.7258, allocations: 79.22 kB / 0.5598 GB, free: 2.988 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.7259, allocations: 113.8 kB / 0.5599 GB, free: 2.867 MB / 395.1 MB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.7259, allocations: 0 / 0.5599 GB, free: 2.867 MB / 395.1 MB Notification: Performance of matching and sorting (n=0): time 8.509e-05/0.726, allocations: 25.7 kB / 0.56 GB, free: 2.836 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.7261, allocations: 102.9 kB / 0.56 GB, free: 2.711 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7262, allocations: 96.98 kB / 0.5601 GB, free: 2.609 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.7262, allocations: 25.7 kB / 0.5602 GB, free: 2.578 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.7263, allocations: 150.6 kB / 0.5603 GB, free: 2.43 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.7263, allocations: 0 / 0.5603 GB, free: 2.43 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-07/0.7263, allocations: 0 / 0.5603 GB, free: 2.43 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7265, allocations: 314.8 kB / 0.5606 GB, free: 2.113 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-06/0.7265, allocations: 0 / 0.5606 GB, free: 2.113 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.7265, allocations: 17.84 kB / 0.5606 GB, free: 2.09 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.541e-05/0.7266, allocations: 79.22 kB / 0.5607 GB, free: 2.012 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.352e-05/0.7266, allocations: 75.28 kB / 0.5608 GB, free: 1.938 MB / 395.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.337e-05/0.7267, allocations: 37.66 kB / 0.5608 GB, free: 1.895 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.7267, allocations: 79.28 kB / 0.5609 GB, free: 1.816 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/0.7268, allocations: 77.98 kB / 0.561 GB, free: 1.742 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.648e-05/0.7269, allocations: 162.4 kB / 0.5611 GB, free: 1.582 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.571e-05/0.7269, allocations: 83.31 kB / 0.5612 GB, free: 1.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-05/0.727, allocations: 150.6 kB / 0.5613 GB, free: 1.352 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.7272, allocations: 83.22 kB / 0.5614 GB, free: 1.27 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.7272, allocations: 75.28 kB / 0.5615 GB, free: 1.195 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001426/0.7274, allocations: 251.5 kB / 0.5617 GB, free: 0.9414 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001013/0.7275, allocations: 146.6 kB / 0.5619 GB, free: 0.7852 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.7276, allocations: 105 kB / 0.562 GB, free: 0.6758 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.7277, allocations: 112.7 kB / 0.5621 GB, free: 0.5586 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.387e-05/0.7278, allocations: 180.2 kB / 0.5622 GB, free: 384 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-05/0.7279, allocations: 180.2 kB / 0.5624 GB, free: 196 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-05/0.7279, allocations: 176.3 kB / 0.5626 GB, free: 12 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.7282, allocations: 385.7 kB / 0.563 GB, free: 15.59 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.043e-05/0.7283, allocations: 105 kB / 0.5631 GB, free: 15.48 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.7283, allocations: 108.9 kB / 0.5632 GB, free: 15.37 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.681e-05/0.7284, allocations: 184.2 kB / 0.5633 GB, free: 15.18 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.7285, allocations: 180.3 kB / 0.5635 GB, free: 15 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.969e-05/0.7285, allocations: 176.3 kB / 0.5637 GB, free: 14.82 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.645e-05/0.7286, allocations: 184.2 kB / 0.5639 GB, free: 14.63 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.7288, allocations: 299.8 kB / 0.5641 GB, free: 14.31 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.7289, allocations: 186.4 kB / 0.5643 GB, free: 14.11 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.038e-05/0.729, allocations: 184.2 kB / 0.5645 GB, free: 13.92 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.7291, allocations: 109 kB / 0.5646 GB, free: 13.8 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.7292, allocations: 196.2 kB / 0.5648 GB, free: 13.61 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.7293, allocations: 101 kB / 0.5649 GB, free: 13.5 MB / 411.1 MB Notification: Performance of sorting global known variables: time 4.807e-05/0.7293, allocations: 75.28 kB / 0.565 GB, free: 13.43 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7293, allocations: 0 / 0.565 GB, free: 13.43 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008405/0.7302, allocations: 135.9 kB / 0.5651 GB, free: 13.29 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.00159/0.7318, allocations: 1.128 MB / 0.5662 GB, free: 12.15 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 5.364e-05/0.7319, allocations: 0 / 0.5662 GB, free: 12.15 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7319, allocations: 0 / 0.5662 GB, free: 12.15 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.7319, allocations: 0 / 0.5662 GB, free: 12.15 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.7323, allocations: 0.5301 MB / 0.5667 GB, free: 11.62 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.7329, allocations: 246.6 kB / 0.5669 GB, free: 11.33 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.7332, allocations: 0.6806 MB / 0.5676 GB, free: 10.62 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.7332, allocations: 11.44 kB / 0.5676 GB, free: 10.61 MB / 411.1 MB Notification: Performance of SimCode: time 6.71e-07/0.7332, allocations: 0 / 0.5676 GB, free: 10.61 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.693/3.427, allocations: 3.052 MB / 0.5706 GB, free: 7.562 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat