Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.001235, allocations: 93.48 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003409, allocations: 8.875 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002045/0.1387, allocations: 1.576 MB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1399, allocations: 0.827 MB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.14, allocations: 0 / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1403, allocations: 35.78 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.1404, allocations: 43.88 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1407, allocations: 118.9 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1409, allocations: 83.83 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.141, allocations: 21.48 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.1411, allocations: 43.78 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.1412, allocations: 47.7 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1412, allocations: 11.94 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.1413, allocations: 27.94 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.1413, allocations: 15.92 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.1414, allocations: 41.64 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1415, allocations: 108 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1415, allocations: 0 / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1415, allocations: 0 / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1416, allocations: 0 / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005346/0.1421, allocations: 468.4 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1421, allocations: 8.031 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.1422, allocations: 46.48 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1422, allocations: 11.81 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1425, allocations: 214.8 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1425, allocations: 4 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1425, allocations: 11.95 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1427, allocations: 112.2 kB / 475.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.1427, allocations: 0 / 475.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1428, allocations: 4 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1428, allocations: 4 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.1429, allocations: 47.95 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.1435, allocations: 0.5126 MB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.1438, allocations: 94.59 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1438, allocations: 0 / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.144, allocations: 83.38 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.144, allocations: 0 / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003605/0.1444, allocations: 149.5 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.1445, allocations: 51.41 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1446, allocations: 191.4 kB / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1447, allocations: 26.08 kB / 476.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.1447, allocations: 112 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1448, allocations: 27.64 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.1448, allocations: 7.938 kB / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1449, allocations: 330.7 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.145, allocations: 40.09 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.1451, allocations: 64.28 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.127e-05/0.1452, allocations: 43.92 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1452, allocations: 0 / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002569/0.1455, allocations: 137.3 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1455, allocations: 4 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1455, allocations: 0 / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1455, allocations: 8.125 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1456, allocations: 27.92 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1456, allocations: 0 / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.1457, allocations: 19.84 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1457, allocations: 4 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked 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 9.87e-05/0.1458, allocations: 134.2 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1459, allocations: 15.81 kB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.1459, allocations: 17.39 kB / 477.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1459, allocations: 4 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1459, allocations: 0 / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1459, allocations: 0 / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1461, allocations: 213.7 kB / 477.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1461, allocations: 0 / 477.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.1462, allocations: 12 kB / 477.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1462, allocations: 0 / 477.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1462, allocations: 11.98 kB / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1462, allocations: 0 / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1462, allocations: 4 kB / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1466, allocations: 192.8 kB / 477.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1467, allocations: 92.97 kB / 478 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1467, allocations: 0 / 478 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.1468, allocations: 16.06 kB / 478.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.1468, allocations: 11.98 kB / 478.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1468, allocations: 0 / 478.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1469, allocations: 141.2 kB / 478.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1469, allocations: 0 / 478.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1472, allocations: 27.91 kB / 478.2 MB, free: 6.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * 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.001377/0.1486, allocations: 1.028 MB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1488, allocations: 75.91 kB / 479.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1488, allocations: 4.25 kB / 479.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.1489, allocations: 43.91 kB / 479.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.1492, allocations: 46.27 kB / 479.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1506, allocations: 1.437 MB / 480.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1509, allocations: 0.72 MB / 481.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.151, allocations: 21.41 kB / 481.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.1511, allocations: 39.42 kB / 481.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1511, allocations: 0 / 481.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.1642, allocations: 3.247 MB / 484.9 MB, free: 88 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.1644, allocations: 220.8 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/1.916, allocations: 0 / 485.1 MB, free: 15.84 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat