Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test61",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.001483/0.001482, allocations: 178.4 kB / 8.362 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 1.974/1.974, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001052/0.001052, allocations: 96.03 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.3193/0.3193, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.309e-05, allocations: 8 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4238, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.5996, allocations: 86.79 MB / 0.5508 GB, free: 12.42 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.6, allocations: 79.45 kB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02548/0.6255, allocations: 5.478 MB / 0.5562 GB, free: 6.871 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6255, allocations: 0 / 0.5562 GB, free: 6.871 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.6256, allocations: 4 kB / 0.5562 GB, free: 6.867 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006199/0.6262, allocations: 410.8 kB / 0.5566 GB, free: 6.422 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.6263, allocations: 8.031 kB / 0.5566 GB, free: 6.414 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.6263, allocations: 23.81 kB / 0.5566 GB, free: 6.391 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.6269, allocations: 230.6 kB / 0.5568 GB, free: 6.125 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.6269, allocations: 4 kB / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.6269, allocations: 0 / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/0.627, allocations: 12 kB / 0.5568 GB, free: 6.109 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.6272, allocations: 45.67 kB / 0.5569 GB, free: 6.059 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.6272, allocations: 0 / 0.5569 GB, free: 6.059 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6272, allocations: 0 / 0.5569 GB, free: 6.059 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6272, allocations: 8 kB / 0.5569 GB, free: 6.051 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.6275, allocations: 170.2 kB / 0.5571 GB, free: 5.848 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.6277, allocations: 50.56 kB / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.6278, allocations: 16.86 kB / 0.5571 GB, free: 5.77 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.6278, allocations: 4 kB / 0.5571 GB, free: 5.766 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.628, allocations: 63.48 kB / 0.5572 GB, free: 5.691 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 2.225e-06/0.628, allocations: 3.938 kB / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003405/0.6284, allocations: 77.5 kB / 0.5573 GB, free: 5.605 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.6285, allocations: 51.41 kB / 0.5573 GB, free: 5.543 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.6289, allocations: 229.8 kB / 0.5575 GB, free: 5.309 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.6289, allocations: 25.7 kB / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.629, allocations: 170.6 kB / 0.5577 GB, free: 5.109 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.6291, allocations: 19.8 kB / 0.5577 GB, free: 5.09 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.6291, allocations: 7.938 kB / 0.5577 GB, free: 5.082 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6293, allocations: 310.8 kB / 0.558 GB, free: 4.77 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.6293, allocations: 12 kB / 0.5581 GB, free: 4.758 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.6294, allocations: 25.72 kB / 0.5581 GB, free: 4.727 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.6295, allocations: 15.98 kB / 0.5581 GB, free: 4.711 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6295, allocations: 0 / 0.5581 GB, free: 4.711 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001924/0.6297, allocations: 73.56 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6297, allocations: 8.031 kB / 0.5582 GB, free: 4.625 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6298, allocations: 0 / 0.5582 GB, free: 4.625 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.6298, allocations: 4 kB / 0.5582 GB, free: 4.621 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.63, allocations: 11.98 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.63, allocations: 0 / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.6301, allocations: 4 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.6301, allocations: 0 / 0.5582 GB, free: 4.605 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 (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.0001171/0.6302, allocations: 109 kB / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002078/0.6305, allocations: 89.38 kB / 0.5584 GB, free: 4.398 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.6305, allocations: 16 kB / 0.5584 GB, free: 4.383 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.6308, allocations: 95.3 kB / 0.5585 GB, free: 4.281 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6308, allocations: 0 / 0.5585 GB, free: 4.281 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6308, allocations: 0 / 0.5585 GB, free: 4.281 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6308, allocations: 0 / 0.5585 GB, free: 4.281 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.6311, allocations: 186.1 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.6311, allocations: 3.953 kB / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.6312, allocations: 7.984 kB / 0.5587 GB, free: 4.051 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.6312, allocations: 0 / 0.5587 GB, free: 4.051 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.6312, allocations: 4 kB / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6312, allocations: 0 / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6312, allocations: 4 kB / 0.5587 GB, free: 4.043 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.6315, allocations: 112.9 kB / 0.5588 GB, free: 3.914 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.6316, allocations: 96.97 kB / 0.5589 GB, free: 3.801 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.6317, allocations: 0 / 0.5589 GB, free: 3.801 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.6318, allocations: 7.984 kB / 0.5589 GB, free: 3.793 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.6318, allocations: 4 kB / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.6319, allocations: 4 kB / 0.5589 GB, free: 3.785 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.6321, allocations: 192.2 kB / 0.5591 GB, free: 3.598 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.445e-06/0.6322, allocations: 3.938 kB / 0.5591 GB, free: 3.594 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.6325, allocations: 35.83 kB / 0.5591 GB, free: 3.559 MB / 395.1 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) * 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.001552/0.6341, allocations: 0.888 MB / 0.56 GB, free: 2.684 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.6343, allocations: 36 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6343, allocations: 0 / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.6344, allocations: 19.94 kB / 0.56 GB, free: 2.629 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.6347, allocations: 35.27 kB / 0.5601 GB, free: 2.598 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.6356, allocations: 288.5 kB / 0.5603 GB, free: 2.273 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.636, allocations: 0.7197 MB / 0.561 GB, free: 1.527 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.6362, allocations: 39.42 kB / 0.5611 GB, free: 1.488 MB / 395.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6362, allocations: 0 / 0.5611 GB, free: 1.488 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.654/3.29, allocations: 2.606 MB / 0.5636 GB, free: 14.89 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat