Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",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.002346/0.002346, allocations: 185.9 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.018/2.018, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001094/0.001093, allocations: 89.61 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.5352/0.5352, allocations: 43.56 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005348/0.0005347, allocations: 16 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1402, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.6262, allocations: 87.5 MB / 0.5643 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.6265, allocations: 75.95 kB / 0.5644 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02422/0.6508, allocations: 5.28 MB / 0.5695 GB, free: 9.582 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6508, allocations: 0 / 0.5695 GB, free: 9.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.6509, allocations: 3.938 kB / 0.5695 GB, free: 9.578 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007233/0.6516, allocations: 422.9 kB / 0.5699 GB, free: 9.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.6516, allocations: 15.22 kB / 0.5699 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.6517, allocations: 30.56 kB / 0.57 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.6518, allocations: 19.23 kB / 0.57 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.6522, allocations: 207.4 kB / 0.5702 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.6522, allocations: 8 kB / 0.5702 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.6523, allocations: 0 / 0.5702 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.6524, allocations: 53.61 kB / 0.5702 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6525, allocations: 0 / 0.5702 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6525, allocations: 0 / 0.5702 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6525, allocations: 0 / 0.5702 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.6526, allocations: 21 kB / 0.5703 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.6529, allocations: 189.6 kB / 0.5704 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.6532, allocations: 54.61 kB / 0.5705 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.6532, allocations: 7.938 kB / 0.5705 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.6534, allocations: 67.17 kB / 0.5706 GB, free: 8.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 4.709e-06/0.6535, allocations: 0 / 0.5706 GB, free: 8.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004261/0.6539, allocations: 105.4 kB / 0.5707 GB, free: 8.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.654, allocations: 55.41 kB / 0.5707 GB, free: 8.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.6543, allocations: 196.2 kB / 0.5709 GB, free: 7.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.6543, allocations: 25.7 kB / 0.5709 GB, free: 7.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.6544, allocations: 170.5 kB / 0.5711 GB, free: 7.777 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.6545, allocations: 19.73 kB / 0.5711 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.6545, allocations: 0 / 0.5711 GB, free: 7.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6546, allocations: 318.8 kB / 0.5714 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.6547, allocations: 12 kB / 0.5714 GB, free: 7.426 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.6548, allocations: 37.69 kB / 0.5715 GB, free: 7.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.6549, allocations: 23.94 kB / 0.5715 GB, free: 7.359 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6549, allocations: 0 / 0.5715 GB, free: 7.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002431/0.6552, allocations: 73.62 kB / 0.5716 GB, free: 7.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.6552, allocations: 8 kB / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6553, allocations: 0 / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.6553, allocations: 0 / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.6554, allocations: 11.98 kB / 0.5716 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.6555, allocations: 8.031 kB / 0.5716 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.6556, allocations: 0.75 kB / 0.5716 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.6556, allocations: 4 kB / 0.5716 GB, free: 7.25 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 (7): * Single equations (assignments): 7 * 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.0001527/0.6557, allocations: 133.8 kB / 0.5717 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.6558, allocations: 11.81 kB / 0.5717 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.6561, allocations: 98.61 kB / 0.5718 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.6561, allocations: 0 / 0.5718 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6562, allocations: 3.984 kB / 0.5718 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/0.6562, allocations: 4 kB / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.6564, allocations: 190.4 kB / 0.572 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6565, allocations: 3.953 kB / 0.572 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.6565, allocations: 4 kB / 0.572 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.6565, allocations: 0 / 0.572 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.6566, allocations: 8.875 kB / 0.572 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6566, allocations: 0 / 0.572 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.6566, allocations: 3.984 kB / 0.572 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.6569, allocations: 117.3 kB / 0.5721 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.657, allocations: 100.8 kB / 0.5722 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.6571, allocations: 4.062 kB / 0.5722 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.6572, allocations: 15.92 kB / 0.5723 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.6572, allocations: 0 / 0.5723 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.6572, allocations: 4 kB / 0.5723 GB, free: 6.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.6575, allocations: 160.2 kB / 0.5724 GB, free: 6.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6575, allocations: 0 / 0.5724 GB, free: 6.309 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.6578, allocations: 27.94 kB / 0.5724 GB, free: 6.281 MB / 394.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: 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 (6): * Single equations (assignments): 4 * 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.001787/0.6596, allocations: 0.961 MB / 0.5734 GB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.66, allocations: 51.97 kB / 0.5734 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.66, allocations: 0 / 0.5734 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.6601, allocations: 19.94 kB / 0.5734 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.6605, allocations: 36.02 kB / 0.5735 GB, free: 5.281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.6622, allocations: 0.8839 MB / 0.5743 GB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.6626, allocations: 0.7082 MB / 0.575 GB, free: 3.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.6627, allocations: 31.42 kB / 0.5751 GB, free: 3.582 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6627, allocations: 0 / 0.5751 GB, free: 3.582 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.745/3.407, allocations: 2.329 MB / 0.5773 GB, free: 1.262 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat