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.002462/0.002461, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001132, allocations: 95.55 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6048/0.6048, allocations: 43.55 MB / 362.7 MB, free: 52.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.0006492, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1428, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5185/0.6614, allocations: 87.35 MB / 0.5641 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.6617, allocations: 63.97 kB / 0.5642 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03049/0.6922, allocations: 7.079 MB / 0.5711 GB, free: 8.098 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.649e-06/0.6923, allocations: 0 / 0.5711 GB, free: 8.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.6923, allocations: 7.938 kB / 0.5711 GB, free: 8.09 MB / 394.7 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.0006064/0.6929, allocations: 419.2 kB / 0.5715 GB, free: 7.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.693, allocations: 8.031 kB / 0.5715 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.6931, allocations: 111 kB / 0.5716 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.6934, allocations: 91.64 kB / 0.5717 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.6936, allocations: 234.4 kB / 0.5719 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.424e-05/0.6937, allocations: 154.6 kB / 0.5721 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.6937, allocations: 150.6 kB / 0.5722 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.046e-05/0.6938, allocations: 105 kB / 0.5723 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.6939, allocations: 79.27 kB / 0.5724 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.694, allocations: 158.5 kB / 0.5725 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/0.6941, allocations: 154.5 kB / 0.5727 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.507e-05/0.6942, allocations: 155.6 kB / 0.5728 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.6945, allocations: 445.9 kB / 0.5733 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.6947, allocations: 165.1 kB / 0.5734 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.6947, allocations: 82.19 kB / 0.5735 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.042e-05/0.6948, allocations: 113.8 kB / 0.5736 GB, free: 5.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.787e-05/0.6948, allocations: 0 / 0.5736 GB, free: 5.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001079/0.695, allocations: 33.69 kB / 0.5736 GB, free: 5.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6951, allocations: 178.1 kB / 0.5738 GB, free: 5.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.6952, allocations: 93 kB / 0.5739 GB, free: 5.012 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.6952, allocations: 25.7 kB / 0.5739 GB, free: 4.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.6953, allocations: 150.7 kB / 0.5741 GB, free: 4.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.6953, allocations: 4 kB / 0.5741 GB, free: 4.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-07/0.6953, allocations: 0 / 0.5741 GB, free: 4.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6955, allocations: 310.8 kB / 0.5744 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.6955, allocations: 0 / 0.5744 GB, free: 4.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.6956, allocations: 13.72 kB / 0.5744 GB, free: 4.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.6956, allocations: 79.22 kB / 0.5745 GB, free: 4.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-05/0.6957, allocations: 79.23 kB / 0.5745 GB, free: 4.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.909e-05/0.6957, allocations: 41.66 kB / 0.5746 GB, free: 4.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.6958, allocations: 79.28 kB / 0.5747 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.038e-05/0.6959, allocations: 80.16 kB / 0.5747 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-05/0.696, allocations: 158.5 kB / 0.5749 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.719e-05/0.696, allocations: 75.28 kB / 0.575 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.899e-05/0.6961, allocations: 154.5 kB / 0.5751 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.6963, allocations: 83.28 kB / 0.5752 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.6963, allocations: 81.39 kB / 0.5753 GB, free: 3.594 MB / 394.7 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 () * Number of clocked 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.0001826/0.6965, allocations: 272.3 kB / 0.5755 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.6966, allocations: 104.9 kB / 0.5756 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.134e-05/0.6967, allocations: 108.1 kB / 0.5757 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.343e-05/0.6968, allocations: 188.2 kB / 0.5759 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-05/0.6969, allocations: 180.2 kB / 0.5761 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-05/0.697, allocations: 176.3 kB / 0.5762 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.6973, allocations: 405.2 kB / 0.5766 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.263e-05/0.6973, allocations: 105 kB / 0.5767 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.6974, allocations: 113.9 kB / 0.5768 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.522e-05/0.6975, allocations: 180.3 kB / 0.577 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.746e-05/0.6976, allocations: 184.2 kB / 0.5772 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.187e-05/0.6977, allocations: 176.3 kB / 0.5773 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-05/0.6978, allocations: 180.3 kB / 0.5775 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.698, allocations: 307.8 kB / 0.5778 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.6981, allocations: 186 kB / 0.578 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6982, allocations: 184.6 kB / 0.5782 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.6984, allocations: 109 kB / 0.5783 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.6985, allocations: 180.2 kB / 0.5784 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.6986, allocations: 101 kB / 0.5785 GB, free: 8 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.6987, allocations: 83.22 kB / 0.5786 GB, free: 15.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6987, allocations: 0 / 0.5786 GB, free: 15.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001035/0.6998, allocations: 139.9 kB / 0.5788 GB, free: 15.79 MB / 410.7 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 () * Number of clocked 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.001746/0.7015, allocations: 1.145 MB / 0.5799 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.855e-05/0.7016, allocations: 0 / 0.5799 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7016, allocations: 0 / 0.5799 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.7017, allocations: 0 / 0.5799 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.702, allocations: 0.5302 MB / 0.5804 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.7027, allocations: 279.9 kB / 0.5807 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.7031, allocations: 0.677 MB / 0.5813 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.7031, allocations: 7.438 kB / 0.5813 GB, free: 13.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.133e-06/0.7031, allocations: 0 / 0.5813 GB, free: 13.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.576/3.279, allocations: 3.012 MB / 0.5843 GB, free: 10.11 MB / 410.7 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