Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.0009193/0.0009192, allocations: 98.75 kB / 17 MB, free: 6.418 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.0009734/0.0009733, allocations: 191.4 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.396/1.396, allocations: 223.2 MB / 241.9 MB, free: 244 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.2014/0.2014, allocations: 44.22 MB / 337.2 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003177, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002211/0.1358, allocations: 1.554 MB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1372, allocations: 0.9089 MB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.1373, allocations: 3.938 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004578/0.1378, allocations: 243.5 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.1381, allocations: 167.5 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1386, allocations: 159.2 kB / 474.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.1389, allocations: 211.4 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.139, allocations: 29.59 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1392, allocations: 119.5 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1394, allocations: 147.6 kB / 475.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1394, allocations: 4 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1396, allocations: 51.98 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.1397, allocations: 59.75 kB / 475.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.1398, allocations: 65.5 kB / 475.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.14, allocations: 168 kB / 475.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.14, allocations: 4 kB / 475.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.14, allocations: 4 kB / 475.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.14, allocations: 0 / 475.5 MB, free: 9.742 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007641/0.1408, allocations: 0.5291 MB / 476.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1409, allocations: 8.031 kB / 476.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.1409, allocations: 42.55 kB / 476.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.141, allocations: 27.62 kB / 476.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.1414, allocations: 275 kB / 476.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1414, allocations: 8 kB / 476.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.1414, allocations: 11.95 kB / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.1417, allocations: 110.3 kB / 476.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1417, allocations: 3.984 kB / 476.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1417, allocations: 0 / 476.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1417, allocations: 4 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.1419, allocations: 47.91 kB / 476.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.1424, allocations: 484.7 kB / 477.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.1428, allocations: 121.2 kB / 477.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.143, allocations: 49.83 kB / 477.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.143, allocations: 0 / 477.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.1433, allocations: 120.9 kB / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.1433, allocations: 0 / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001316/0.1446, allocations: 0.5085 MB / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.1447, allocations: 77.11 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/0.1452, allocations: 485.5 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1453, allocations: 37.64 kB / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1454, allocations: 160.5 kB / 478.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/0.1455, allocations: 67.08 kB / 478.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.1455, allocations: 12 kB / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1456, allocations: 342.8 kB / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1458, allocations: 55.97 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1459, allocations: 95.33 kB / 479.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1461, allocations: 72.03 kB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1461, allocations: 8 kB / 479.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003824/0.1465, allocations: 233 kB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1465, allocations: 4 kB / 479.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1465, allocations: 3.938 kB / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1465, allocations: 4 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1467, allocations: 35.98 kB / 479.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1467, allocations: 7.953 kB / 479.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/0.1468, allocations: 16.05 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1468, allocations: 8 kB / 479.5 MB, free: 5.453 MB / 350.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002035/0.147, allocations: 182.2 kB / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.1471, allocations: 31.62 kB / 479.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.934e-05/0.1472, allocations: 38.81 kB / 479.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1472, allocations: 4 kB / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-06/0.1472, allocations: 0 / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.1472, allocations: 7.938 kB / 479.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1483, allocations: 0.7311 MB / 480.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1483, allocations: 4 kB / 480.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.1484, allocations: 35.92 kB / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1484, allocations: 0 / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.1484, allocations: 16.11 kB / 480.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1485, allocations: 0 / 480.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1485, allocations: 4 kB / 480.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/0.149, allocations: 428.6 kB / 481 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.1491, allocations: 104.7 kB / 481.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.1492, allocations: 15.98 kB / 481.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1494, allocations: 12.19 kB / 481.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.1494, allocations: 23.89 kB / 481.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.1495, allocations: 15.94 kB / 481.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.1499, allocations: 355.1 kB / 481.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1499, allocations: 8 kB / 481.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.1503, allocations: 47.98 kB / 481.6 MB, free: 3.293 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002246/0.1525, allocations: 1.363 MB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005395/0.1531, allocations: 159.8 kB / 483.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1531, allocations: 0 / 483.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.1533, allocations: 80.22 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.1539, allocations: 63.41 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.1566, allocations: 1.759 MB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.157, allocations: 0.7811 MB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.1572, allocations: 37.92 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.1574, allocations: 103.4 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1574, allocations: 0 / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.1747, allocations: 5.865 MB / 491.8 MB, free: 9.312 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.175, allocations: 213.9 kB / 492 MB, free: 9.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.216, allocations: 0 / 492 MB, free: 9.078 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat