Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",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.002369/0.002368, allocations: 179.4 kB / 8.364 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.287/2.287, 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.001122/0.001122, allocations: 97.84 kB / 262.1 MB, free: 13.88 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.3247/0.3247, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.401e-05, allocations: 8.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4381, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.5986, allocations: 87.07 MB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.599, allocations: 75.95 kB / 0.5511 GB, free: 12.08 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03274/0.6317, allocations: 7.438 MB / 0.5584 GB, free: 4.637 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6318, allocations: 4 kB / 0.5584 GB, free: 4.633 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.6318, allocations: 0 / 0.5584 GB, free: 4.633 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008253/0.6327, allocations: 494.4 kB / 0.5588 GB, free: 4.105 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6327, allocations: 8.031 kB / 0.5589 GB, free: 4.098 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.777e-05/0.6328, allocations: 23.72 kB / 0.5589 GB, free: 4.074 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006417/0.6335, allocations: 274.5 kB / 0.5591 GB, free: 3.762 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.6335, allocations: 0 / 0.5591 GB, free: 3.762 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.6335, allocations: 11.92 kB / 0.5591 GB, free: 3.75 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001504/0.6337, allocations: 31.98 kB / 0.5592 GB, free: 3.719 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.6339, allocations: 95.31 kB / 0.5593 GB, free: 3.613 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.634, allocations: 4 kB / 0.5593 GB, free: 3.609 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.634, allocations: 0 / 0.5593 GB, free: 3.609 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.634, allocations: 0 / 0.5593 GB, free: 3.609 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.6348, allocations: 429.4 kB / 0.5597 GB, free: 3.148 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.635, allocations: 109.5 kB / 0.5598 GB, free: 3.023 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-05/0.6352, allocations: 33.84 kB / 0.5598 GB, free: 2.984 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.6352, allocations: 11.92 kB / 0.5598 GB, free: 2.973 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.6355, allocations: 109 kB / 0.5599 GB, free: 2.848 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.404e-06/0.6355, allocations: 0 / 0.5599 GB, free: 2.848 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.00103/0.6365, allocations: 304.1 kB / 0.5602 GB, free: 2.543 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.6366, allocations: 81.05 kB / 0.5603 GB, free: 2.445 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.6372, allocations: 314.2 kB / 0.5606 GB, free: 2.137 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.6372, allocations: 25.7 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.6374, allocations: 186.8 kB / 0.5608 GB, free: 1.918 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.6375, allocations: 47.3 kB / 0.5609 GB, free: 1.871 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.6375, allocations: 4 kB / 0.5609 GB, free: 1.867 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6377, allocations: 318.8 kB / 0.5612 GB, free: 1.547 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.6378, allocations: 36 kB / 0.5612 GB, free: 1.512 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.638, allocations: 63.42 kB / 0.5613 GB, free: 1.438 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.6381, allocations: 48.11 kB / 0.5613 GB, free: 1.391 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6381, allocations: 0 / 0.5613 GB, free: 1.391 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003972/0.6385, allocations: 141.6 kB / 0.5614 GB, free: 1.246 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.6386, allocations: 4 kB / 0.5614 GB, free: 1.242 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.6386, allocations: 7.953 kB / 0.5614 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6386, allocations: 0 / 0.5614 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.6389, allocations: 35.92 kB / 0.5615 GB, free: 1.199 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6389, allocations: 0 / 0.5615 GB, free: 1.199 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.6391, allocations: 11.89 kB / 0.5615 GB, free: 1.188 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.6391, allocations: 12 kB / 0.5615 GB, free: 1.176 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001212/0.6393, allocations: 113 kB / 0.5616 GB, free: 1.059 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004182/0.6397, allocations: 161.4 kB / 0.5618 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.6398, allocations: 27.67 kB / 0.5618 GB, free: 0.8672 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/0.6403, allocations: 195.7 kB / 0.562 GB, free: 0.668 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6404, allocations: 0 / 0.562 GB, free: 0.668 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6404, allocations: 4 kB / 0.562 GB, free: 0.6641 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6404, allocations: 0 / 0.562 GB, free: 0.6641 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.6415, allocations: 0.6208 MB / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6416, allocations: 4 kB / 0.5626 GB, free: 15.98 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.6417, allocations: 19.98 kB / 0.5626 GB, free: 15.96 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.6418, allocations: 4 kB / 0.5626 GB, free: 15.96 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6418, allocations: 3.938 kB / 0.5626 GB, free: 15.96 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.6418, allocations: 4.375 kB / 0.5626 GB, free: 15.95 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.6418, allocations: 3.984 kB / 0.5626 GB, free: 15.95 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.6425, allocations: 394.5 kB / 0.563 GB, free: 15.52 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.6426, allocations: 112.8 kB / 0.5631 GB, free: 15.39 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.6427, allocations: 11.98 kB / 0.5631 GB, free: 15.38 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.643, allocations: 8 kB / 0.5631 GB, free: 15.38 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.6431, allocations: 19.94 kB / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.6431, allocations: 7.984 kB / 0.5632 GB, free: 15.35 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0004187/0.6435, allocations: 246 kB / 0.5634 GB, free: 15.11 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6435, allocations: 0 / 0.5634 GB, free: 15.11 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005051/0.644, allocations: 55.83 kB / 0.5634 GB, free: 15.05 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00209/0.6461, allocations: 1.425 MB / 0.5648 GB, free: 13.64 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.6466, allocations: 107.9 kB / 0.5649 GB, free: 13.53 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6466, allocations: 4.125 kB / 0.5649 GB, free: 13.53 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.6468, allocations: 55.94 kB / 0.565 GB, free: 13.47 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.6474, allocations: 48.7 kB / 0.565 GB, free: 13.42 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.6488, allocations: 456.2 kB / 0.5655 GB, free: 12.93 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.6493, allocations: 0.7596 MB / 0.5662 GB, free: 12.14 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.6495, allocations: 79.34 kB / 0.5663 GB, free: 12.06 MB / 411.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6495, allocations: 0 / 0.5663 GB, free: 12.06 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.617/3.266, allocations: 4.269 MB / 0.5705 GB, free: 7.805 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat