Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.0008565/0.0008567, allocations: 96.83 kB / 16.99 MB, free: 5.941 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.000844/0.000844, allocations: 183.3 kB / 17.87 MB, free: 5.609 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.382/1.382, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2118/0.2118, allocations: 44.23 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003925, allocations: 14.06 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002553/0.1508, allocations: 1.599 MB / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1524, allocations: 0.9362 MB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1525, allocations: 7.875 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007047/0.1533, allocations: 171.6 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.1536, allocations: 135.6 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.1542, allocations: 193.3 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.1544, allocations: 151.7 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1546, allocations: 13.69 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1548, allocations: 95.59 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1549, allocations: 91.59 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.155, allocations: 4 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1551, allocations: 35.92 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.745e-05/0.1552, allocations: 43.83 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.1553, allocations: 57.62 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1555, allocations: 179.8 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1556, allocations: 0 / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1556, allocations: 0 / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1556, allocations: 0 / 475.2 MB, free: 9.918 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00087/0.1565, allocations: 0.5116 MB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.1565, allocations: 12.03 kB / 475.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.832e-05/0.1566, allocations: 34.56 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.1567, allocations: 27.72 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.1571, allocations: 274.5 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1571, allocations: 4 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1571, allocations: 7.953 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.1574, allocations: 100.2 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1574, allocations: 7.984 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1575, allocations: 0 / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1575, allocations: 0 / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1576, allocations: 47.91 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.1583, allocations: 377.5 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1586, allocations: 117.4 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.1586, allocations: 8 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.1588, allocations: 113.1 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.1589, allocations: 0 / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004817/0.1593, allocations: 173.4 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.1594, allocations: 114.7 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.1598, allocations: 331 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1599, allocations: 25.7 kB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.16, allocations: 144 kB / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.1601, allocations: 23.7 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-06/0.1601, allocations: 0 / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1603, allocations: 346.8 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.1604, allocations: 35.98 kB / 478 MB, free: 6.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.1606, allocations: 84.38 kB / 478.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.1607, allocations: 44.02 kB / 478.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1607, allocations: 0 / 478.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002811/0.161, allocations: 149.3 kB / 478.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.161, allocations: 6.188 kB / 478.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.161, allocations: 0.625 kB / 478.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.1611, allocations: 4 kB / 478.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1612, allocations: 19.98 kB / 478.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1612, allocations: 4 kB / 478.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.495e-05/0.1613, allocations: 15.89 kB / 478.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.1613, allocations: 15.92 kB / 478.4 MB, free: 6.508 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001661/0.1615, allocations: 154.4 kB / 478.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1616, allocations: 19.72 kB / 478.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.1616, allocations: 29.73 kB / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1616, allocations: 0 / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.1617, allocations: 7.938 kB / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1617, allocations: 0 / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.162, allocations: 253.5 kB / 478.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.162, allocations: 0 / 478.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.162, allocations: 11.98 kB / 478.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.162, allocations: 4 kB / 478.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.162, allocations: 4 kB / 478.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1621, allocations: 3.938 kB / 478.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1621, allocations: 0 / 478.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.1624, allocations: 191.3 kB / 479 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.478e-05/0.1625, allocations: 108.8 kB / 479.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1625, allocations: 4 kB / 479.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.1626, allocations: 8 kB / 479.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.1627, allocations: 7.984 kB / 479.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.1627, allocations: 7.984 kB / 479.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002484/0.163, allocations: 249.9 kB / 479.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.163, allocations: 0 / 479.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1633, allocations: 35.94 kB / 479.4 MB, free: 5.32 MB / 350.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001655/0.1649, allocations: 1.114 MB / 480.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.1652, allocations: 87.97 kB / 480.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1652, allocations: 4.062 kB / 480.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1653, allocations: 47.92 kB / 480.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1656, allocations: 49.34 kB / 480.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.1678, allocations: 1.685 MB / 482.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1682, allocations: 0.7518 MB / 483.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.1684, allocations: 33.92 kB / 483.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.1685, allocations: 63.41 kB / 483.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.395e-06/0.1685, allocations: 4 kB / 483.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.1866, allocations: 4.993 MB / 488.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.1868, allocations: 212.8 kB / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.964, allocations: 4.062 kB / 488.5 MB, free: 12.41 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat