Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",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.001522/0.001522, allocations: 179.4 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.045/2.045, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001103/0.001103, allocations: 93.12 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.332/0.332, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 4.178e-05/4.185e-05, allocations: 8 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4437, allocations: 58.84 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.6075, allocations: 86.96 MB / 0.5509 GB, free: 12.26 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.6078, allocations: 79.45 kB / 0.551 GB, free: 12.18 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02485/0.6327, allocations: 5.457 MB / 0.5563 GB, free: 6.727 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6327, allocations: 0 / 0.5563 GB, free: 6.727 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.6328, allocations: 0 / 0.5563 GB, free: 6.727 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006147/0.6334, allocations: 414.8 kB / 0.5567 GB, free: 6.277 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6335, allocations: 8.031 kB / 0.5567 GB, free: 6.27 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.6335, allocations: 11.81 kB / 0.5567 GB, free: 6.258 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.6339, allocations: 214.8 kB / 0.557 GB, free: 6.008 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.634, allocations: 0 / 0.557 GB, free: 6.008 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.634, allocations: 4 kB / 0.557 GB, free: 6.004 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000104/0.6341, allocations: 23.98 kB / 0.557 GB, free: 5.98 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.6343, allocations: 45.62 kB / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.6343, allocations: 0 / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.6343, allocations: 8 kB / 0.557 GB, free: 5.922 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-06/0.6343, allocations: 0 / 0.557 GB, free: 5.922 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.6348, allocations: 281.3 kB / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.635, allocations: 50.69 kB / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.635, allocations: 16.98 kB / 0.5574 GB, free: 5.531 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.6351, allocations: 4 kB / 0.5574 GB, free: 5.527 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.6352, allocations: 71.27 kB / 0.5574 GB, free: 5.445 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.6353, allocations: 0 / 0.5574 GB, free: 5.445 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006168/0.6359, allocations: 145.2 kB / 0.5576 GB, free: 5.297 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.6359, allocations: 51.41 kB / 0.5576 GB, free: 5.234 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.6362, allocations: 193.5 kB / 0.5578 GB, free: 5.035 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.6363, allocations: 29.64 kB / 0.5578 GB, free: 5 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.6364, allocations: 166.6 kB / 0.558 GB, free: 4.836 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.6364, allocations: 27.64 kB / 0.558 GB, free: 4.809 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.6364, allocations: 0 / 0.558 GB, free: 4.809 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6366, allocations: 314.8 kB / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.6367, allocations: 20 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.6368, allocations: 33.7 kB / 0.5584 GB, free: 4.434 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.715e-05/0.6368, allocations: 12 kB / 0.5584 GB, free: 4.422 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6369, allocations: 0 / 0.5584 GB, free: 4.422 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000225/0.6371, allocations: 101.5 kB / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.6371, allocations: 4 kB / 0.5585 GB, free: 4.312 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6371, allocations: 4 kB / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6372, allocations: 0 / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.6373, allocations: 12 kB / 0.5585 GB, free: 4.297 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.6374, allocations: 0 / 0.5585 GB, free: 4.297 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.158e-05/0.6375, allocations: 12.11 kB / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.6375, allocations: 11.95 kB / 0.5585 GB, free: 4.273 MB / 395.1 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 () * 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 9.176e-05/0.6376, allocations: 101 kB / 0.5586 GB, free: 4.168 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002269/0.6378, allocations: 101.5 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.6379, allocations: 15.8 kB / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.6382, allocations: 107.7 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6382, allocations: 4 kB / 0.5588 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.6382, allocations: 7.938 kB / 0.5588 GB, free: 3.926 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6383, allocations: 0 / 0.5588 GB, free: 3.926 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.6389, allocations: 383.9 kB / 0.5592 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6389, allocations: 4.031 kB / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.639, allocations: 8 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.639, allocations: 0 / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.639, allocations: 4 kB / 0.5592 GB, free: 3.488 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.6391, allocations: 3.953 kB / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.6391, allocations: 0 / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.6394, allocations: 226 kB / 0.5594 GB, free: 3.238 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/0.6395, allocations: 93 kB / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.6395, allocations: 7.953 kB / 0.5595 GB, free: 3.121 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.6397, allocations: 3.984 kB / 0.5595 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.6397, allocations: 11.98 kB / 0.5596 GB, free: 3.105 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.6398, allocations: 4 kB / 0.5596 GB, free: 3.102 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.64, allocations: 152.2 kB / 0.5597 GB, free: 2.953 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.64, allocations: 0 / 0.5597 GB, free: 2.953 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.6404, allocations: 27.98 kB / 0.5597 GB, free: 2.926 MB / 395.1 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) * 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.001762/0.6422, allocations: 1.114 MB / 0.5608 GB, free: 1.828 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.6425, allocations: 51.98 kB / 0.5609 GB, free: 1.777 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6425, allocations: 0 / 0.5609 GB, free: 1.777 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.6426, allocations: 31.92 kB / 0.5609 GB, free: 1.746 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.643, allocations: 27.97 kB / 0.5609 GB, free: 1.719 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.6439, allocations: 273.3 kB / 0.5612 GB, free: 1.406 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.6443, allocations: 0.708 MB / 0.5619 GB, free: 0.6719 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.6444, allocations: 39.42 kB / 0.5619 GB, free: 0.6328 MB / 395.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6444, allocations: 0 / 0.5619 GB, free: 0.6328 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.701/3.346, allocations: 2.586 MB / 0.5644 GB, free: 14.06 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat