Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.001245/0.001245, allocations: 93.39 kB / 17 MB, free: 6.402 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.001474/0.001474, allocations: 176.8 kB / 17.89 MB, free: 5.945 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.426/1.426, allocations: 223.2 MB / 241.9 MB, free: 316 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.2591/0.2591, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004375, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1512, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002203/0.1535, allocations: 1.363 MB / 473 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.155, allocations: 0.7804 MB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.1551, allocations: 3.938 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1554, allocations: 55.8 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1556, allocations: 51.81 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1559, allocations: 87.33 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.156, allocations: 79.7 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.1561, allocations: 4 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.1562, allocations: 43.83 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.1563, allocations: 31.86 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1563, allocations: 3.938 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.068e-05/0.1564, allocations: 23.98 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.1565, allocations: 23.91 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.1565, allocations: 45.64 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1567, allocations: 88.09 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1567, allocations: 0 / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1567, allocations: 3.938 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1568, allocations: 0 / 474.3 MB, free: 10.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005826/0.1573, allocations: 416.9 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1574, allocations: 12.03 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.1574, allocations: 34.55 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.1575, allocations: 7.906 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1577, allocations: 218.7 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1578, allocations: 0 / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1578, allocations: 3.953 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1579, allocations: 45.69 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.158, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.158, allocations: 7.984 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.158, allocations: 0 / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.1581, allocations: 12 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.1583, allocations: 193.7 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1585, allocations: 50.56 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1586, allocations: 20.84 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1586, allocations: 4 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.1588, allocations: 67.34 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1588, allocations: 0 / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003079/0.1591, allocations: 101.4 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1592, allocations: 55.39 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.1594, allocations: 262.3 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1595, allocations: 25.7 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.1596, allocations: 116.1 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1596, allocations: 11.81 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/0.1596, allocations: 0 / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1597, allocations: 330.8 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.1598, allocations: 11.98 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.1598, allocations: 25.72 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.008e-05/0.1599, allocations: 19.98 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1599, allocations: 4 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001597/0.1601, allocations: 81.53 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1601, allocations: 7.953 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1601, allocations: 0 / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1601, allocations: 0 / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.1602, allocations: 20.23 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1602, allocations: 0 / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.1603, allocations: 15.84 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1603, allocations: 0 / 476.5 MB, free: 8.559 MB / 350.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 () * 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.0001238/0.1604, allocations: 150.3 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.1604, allocations: 7.906 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.1605, allocations: 28.88 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1605, allocations: 0 / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1605, allocations: 4 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1605, allocations: 0 / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.1607, allocations: 197.5 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1607, allocations: 0 / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.1607, allocations: 4 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1607, allocations: 4 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1608, allocations: 4 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1608, allocations: 3.953 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1608, allocations: 0 / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.1609, allocations: 109 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.161, allocations: 96.91 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.161, allocations: 0 / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.1611, allocations: 4 kB / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1611, allocations: 7.953 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1611, allocations: 7.984 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1613, allocations: 192.5 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1613, allocations: 0 / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1616, allocations: 16 kB / 477.3 MB, free: 7.641 MB / 350.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001286/0.1628, allocations: 0.9463 MB / 478.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.163, allocations: 43.91 kB / 478.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.163, allocations: 0 / 478.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.546e-05/0.1631, allocations: 16 kB / 478.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1634, allocations: 37.41 kB / 478.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.1646, allocations: 0.8081 MB / 479.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1649, allocations: 0.7121 MB / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.1649, allocations: 12.55 kB / 479.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.165, allocations: 39.42 kB / 479.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of SimCode: time 1.664e-06/0.165, allocations: 0 / 479.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.1799, allocations: 2.962 MB / 482.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.1802, allocations: 224.9 kB / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.145, allocations: 0 / 483.1 MB, free: 2.004 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat