Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",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.001583/0.001582, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.198/2.198, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001169/0.001169, allocations: 95.28 kB / 270.9 MB, free: 8.367 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.5073/0.5073, allocations: 43.54 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004753, allocations: 12 kB / 431.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 58.85 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6187, allocations: 87.72 MB / 0.5645 GB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.6191, allocations: 70.38 kB / 0.5646 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02545/0.6445, allocations: 5.382 MB / 0.5698 GB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6446, allocations: 0 / 0.5698 GB, free: 9.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.6446, allocations: 4 kB / 0.5698 GB, free: 9.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007006/0.6453, allocations: 430.3 kB / 0.5702 GB, free: 8.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6454, allocations: 12.02 kB / 0.5702 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.6455, allocations: 34.56 kB / 0.5703 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.6455, allocations: 11.34 kB / 0.5703 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.6459, allocations: 217.9 kB / 0.5705 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.6459, allocations: 0 / 0.5705 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.646, allocations: 4 kB / 0.5705 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.6462, allocations: 53.67 kB / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.6462, allocations: 0 / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.6462, allocations: 4.438 kB / 0.5706 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6462, allocations: 1.031 kB / 0.5706 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.6464, allocations: 35.89 kB / 0.5706 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.6469, allocations: 292.8 kB / 0.5709 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.6472, allocations: 62.67 kB / 0.5709 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.6472, allocations: 0 / 0.5709 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.6474, allocations: 71.45 kB / 0.571 GB, free: 7.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.6474, allocations: 3 kB / 0.571 GB, free: 7.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.00081/0.6483, allocations: 177.2 kB / 0.5712 GB, free: 7.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.6483, allocations: 55.41 kB / 0.5712 GB, free: 7.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.6486, allocations: 173.4 kB / 0.5714 GB, free: 7.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.6486, allocations: 25.7 kB / 0.5714 GB, free: 7.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.6487, allocations: 158.6 kB / 0.5716 GB, free: 7.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.6488, allocations: 27.64 kB / 0.5716 GB, free: 7.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.6488, allocations: 4 kB / 0.5716 GB, free: 7.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6489, allocations: 322.8 kB / 0.5719 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.924e-05/0.6491, allocations: 23.98 kB / 0.5719 GB, free: 6.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.6492, allocations: 33.7 kB / 0.572 GB, free: 6.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.884e-05/0.6493, allocations: 20 kB / 0.572 GB, free: 6.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6493, allocations: 0 / 0.572 GB, free: 6.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003162/0.6496, allocations: 101.5 kB / 0.5721 GB, free: 6.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6497, allocations: 4 kB / 0.5721 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.934e-06/0.6497, allocations: 0.8125 kB / 0.5721 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6497, allocations: 8 kB / 0.5721 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.6499, allocations: 12 kB / 0.5721 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.6499, allocations: 7.891 kB / 0.5721 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.65, allocations: 7.984 kB / 0.5721 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.65, allocations: 8 kB / 0.5721 GB, free: 6.664 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001385/0.6501, allocations: 121.8 kB / 0.5722 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.6502, allocations: 7.906 kB / 0.5722 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.6506, allocations: 131.1 kB / 0.5724 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6506, allocations: 0 / 0.5724 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.6506, allocations: 4 kB / 0.5724 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6506, allocations: 3.953 kB / 0.5724 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006925/0.6513, allocations: 411.5 kB / 0.5728 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.6514, allocations: 0 / 0.5728 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.6514, allocations: 11.94 kB / 0.5728 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.6515, allocations: 7.922 kB / 0.5728 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.6515, allocations: 8.031 kB / 0.5728 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.6515, allocations: 3.953 kB / 0.5728 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6515, allocations: 0 / 0.5728 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.6519, allocations: 218 kB / 0.573 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-05/0.652, allocations: 89 kB / 0.5731 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.652, allocations: 12.33 kB / 0.5731 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.6522, allocations: 8 kB / 0.5731 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.6522, allocations: 7.984 kB / 0.5731 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.6522, allocations: 4 kB / 0.5731 GB, free: 5.516 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001941/0.6524, allocations: 148.7 kB / 0.5733 GB, free: 5.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6525, allocations: 0 / 0.5733 GB, free: 5.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.6528, allocations: 31.94 kB / 0.5733 GB, free: 5.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002078/0.6549, allocations: 1.197 MB / 0.5745 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.6553, allocations: 67.84 kB / 0.5745 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6554, allocations: 0 / 0.5745 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.6555, allocations: 31.98 kB / 0.5746 GB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.6559, allocations: 19.98 kB / 0.5746 GB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.6578, allocations: 0.9131 MB / 0.5755 GB, free: 3.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.6582, allocations: 0.7045 MB / 0.5762 GB, free: 2.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.6584, allocations: 39.36 kB / 0.5762 GB, free: 2.359 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6584, allocations: 0 / 0.5762 GB, free: 2.359 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.955/3.614, allocations: 2.449 MB / 0.5786 GB, free: 15.91 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat