Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",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.001459/0.001459, allocations: 179.2 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.03/2.03, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001112/0.001111, allocations: 87.45 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.2929/0.2929, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.305e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4715, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.6505, allocations: 86.82 MB / 0.5508 GB, free: 12.37 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.6509, allocations: 75.91 kB / 0.5509 GB, free: 12.3 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02907/0.68, allocations: 6.434 MB / 0.5572 GB, free: 5.863 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.68, allocations: 0 / 0.5572 GB, free: 5.863 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.423e-05/0.6801, allocations: 4 kB / 0.5572 GB, free: 5.859 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001107/0.6812, allocations: 0.5993 MB / 0.5577 GB, free: 5.215 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6813, allocations: 8.031 kB / 0.5577 GB, free: 5.207 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.6814, allocations: 55.34 kB / 0.5578 GB, free: 5.152 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.6828, allocations: 483 kB / 0.5583 GB, free: 4.641 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.6829, allocations: 8 kB / 0.5583 GB, free: 4.633 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.6829, allocations: 0 / 0.5583 GB, free: 4.633 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001306/0.683, allocations: 31.92 kB / 0.5583 GB, free: 4.602 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.6832, allocations: 83.31 kB / 0.5584 GB, free: 4.508 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6833, allocations: 3.938 kB / 0.5584 GB, free: 4.504 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.6833, allocations: 3.984 kB / 0.5584 GB, free: 4.5 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6833, allocations: 4 kB / 0.5584 GB, free: 4.496 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.684, allocations: 366.8 kB / 0.5587 GB, free: 4.098 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.6842, allocations: 89.34 kB / 0.5588 GB, free: 3.992 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.6843, allocations: 33.72 kB / 0.5589 GB, free: 3.953 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.6844, allocations: 3.938 kB / 0.5589 GB, free: 3.949 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.6846, allocations: 105.2 kB / 0.559 GB, free: 3.828 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.6847, allocations: 4 kB / 0.559 GB, free: 3.824 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.000545/0.6852, allocations: 160.9 kB / 0.5591 GB, free: 3.66 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.6853, allocations: 77.11 kB / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.6874, allocations: 0.9084 MB / 0.5601 GB, free: 2.652 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.6874, allocations: 25.7 kB / 0.5601 GB, free: 2.621 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.6877, allocations: 250.6 kB / 0.5603 GB, free: 2.375 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.471e-05/0.6878, allocations: 19.72 kB / 0.5604 GB, free: 2.355 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.6878, allocations: 4 kB / 0.5604 GB, free: 2.352 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6879, allocations: 318.8 kB / 0.5607 GB, free: 2.031 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.688, allocations: 20 kB / 0.5607 GB, free: 2.012 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.6881, allocations: 55.42 kB / 0.5607 GB, free: 1.945 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.6883, allocations: 31.92 kB / 0.5608 GB, free: 1.914 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6883, allocations: 0 / 0.5608 GB, free: 1.914 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003129/0.6886, allocations: 113.5 kB / 0.5609 GB, free: 1.797 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6886, allocations: 4 kB / 0.5609 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6887, allocations: 0 / 0.5609 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.6887, allocations: 4 kB / 0.5609 GB, free: 1.789 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.6889, allocations: 24.23 kB / 0.5609 GB, free: 1.766 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6889, allocations: 0 / 0.5609 GB, free: 1.766 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.6892, allocations: 23.98 kB / 0.5609 GB, free: 1.742 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.6892, allocations: 4 kB / 0.5609 GB, free: 1.738 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001207/0.6893, allocations: 116.7 kB / 0.561 GB, free: 1.617 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004492/0.6898, allocations: 165 kB / 0.5612 GB, free: 1.449 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.69, allocations: 51.34 kB / 0.5613 GB, free: 1.398 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005736/0.6905, allocations: 181.9 kB / 0.5614 GB, free: 1.211 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.6906, allocations: 4 kB / 0.5614 GB, free: 1.207 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6906, allocations: 0 / 0.5614 GB, free: 1.207 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6906, allocations: 11.92 kB / 0.5614 GB, free: 1.195 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.6912, allocations: 365.8 kB / 0.5618 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6912, allocations: 0 / 0.5618 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.6913, allocations: 19.92 kB / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.6914, allocations: 0 / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.6914, allocations: 0 / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.6914, allocations: 4 kB / 0.5618 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6914, allocations: 0 / 0.5618 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.6919, allocations: 215 kB / 0.562 GB, free: 0.5391 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.6924, allocations: 196.3 kB / 0.5622 GB, free: 336 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.6925, allocations: 4.25 kB / 0.5622 GB, free: 332 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.6927, allocations: 15.98 kB / 0.5622 GB, free: 316 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.6928, allocations: 7.984 kB / 0.5622 GB, free: 308 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.6928, allocations: 8 kB / 0.5622 GB, free: 300 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00146/0.6943, allocations: 0.7136 MB / 0.5629 GB, free: 15.58 MB / 411.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.6943, allocations: 4 kB / 0.5629 GB, free: 15.58 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005862/0.6949, allocations: 83.98 kB / 0.563 GB, free: 15.5 MB / 411.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00189/0.6968, allocations: 1.066 MB / 0.5641 GB, free: 14.43 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.6972, allocations: 67.98 kB / 0.5641 GB, free: 14.37 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6972, allocations: 0 / 0.5641 GB, free: 14.37 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.6973, allocations: 39.94 kB / 0.5642 GB, free: 14.33 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.698, allocations: 66.39 kB / 0.5642 GB, free: 14.27 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.7006, allocations: 0.9416 MB / 0.5652 GB, free: 13.27 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.7013, allocations: 0.8547 MB / 0.566 GB, free: 12.39 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/0.7017, allocations: 159.4 kB / 0.5661 GB, free: 12.23 MB / 411.1 MB Notification: Performance of SimCode: time 1.453e-06/0.7017, allocations: 4 kB / 0.5661 GB, free: 12.23 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.501, allocations: 8.25 MB / 0.5742 GB, free: 3.977 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat