Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.00089/0.0008901, allocations: 95.55 kB / 16.99 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.0009824/0.0009828, allocations: 179 kB / 17.88 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.305/1.305, allocations: 223.2 MB / 241.8 MB, free: 396 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.2191/0.2191, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004943, allocations: 13.03 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1504, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002926/0.1534, allocations: 1.398 MB / 473 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1552, allocations: 0.8036 MB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1553, allocations: 0 / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.1559, allocations: 35.88 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.1563, allocations: 55.75 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1567, allocations: 95.75 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1569, allocations: 71.86 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.1571, allocations: 15.97 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1572, allocations: 43.83 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1573, allocations: 31.86 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1573, allocations: 7.938 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1575, allocations: 39.98 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.1576, allocations: 27.91 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.1576, allocations: 41.64 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1579, allocations: 112 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1579, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1579, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1579, allocations: 0 / 474.3 MB, free: 10.86 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006851/0.1586, allocations: 406.8 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1586, allocations: 15.97 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.573e-05/0.1587, allocations: 38.55 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.1588, allocations: 15.91 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.1591, allocations: 215.5 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1591, allocations: 4 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1591, allocations: 11.95 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1593, allocations: 73.59 kB / 475.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1593, allocations: 3.906 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1594, allocations: 0 / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1594, allocations: 0 / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1595, allocations: 43.95 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.1599, allocations: 328.7 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1602, allocations: 78.55 kB / 475.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1603, allocations: 4 kB / 475.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.1605, allocations: 79.41 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.1605, allocations: 8 kB / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008845/0.1614, allocations: 292.4 kB / 475.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1615, allocations: 55.41 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1617, allocations: 183.3 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1617, allocations: 29.7 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.1618, allocations: 96.53 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.1618, allocations: 59.22 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.1618, allocations: 4 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.162, allocations: 334.8 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.1621, allocations: 35.98 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.1622, allocations: 49.7 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.695e-05/0.1623, allocations: 43.98 kB / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1623, allocations: 0 / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000251/0.1626, allocations: 145.5 kB / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1626, allocations: 12 kB / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1626, allocations: 0 / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1626, allocations: 0 / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-05/0.1627, allocations: 27.92 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1627, allocations: 4 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1628, allocations: 4 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1628, allocations: 4 kB / 477 MB, free: 7.965 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 (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.0001394/0.163, allocations: 138.2 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.163, allocations: 15.81 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.1631, allocations: 25.52 kB / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1631, allocations: 4 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1631, allocations: 0 / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1631, allocations: 0 / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.1637, allocations: 480 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1637, allocations: 4.062 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.1638, allocations: 23.92 kB / 477.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1638, allocations: 4 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1638, allocations: 0 / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1638, allocations: 8 kB / 477.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1639, allocations: 0.5625 kB / 477.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.1642, allocations: 280.5 kB / 477.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.1643, allocations: 96.91 kB / 478 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1643, allocations: 7.953 kB / 478 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.1644, allocations: 4 kB / 478 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.1644, allocations: 15.92 kB / 478.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.1645, allocations: 7.938 kB / 478.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1646, allocations: 140.9 kB / 478.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1646, allocations: 4 kB / 478.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1649, allocations: 35.98 kB / 478.2 MB, free: 6.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001828/0.1667, allocations: 1.367 MB / 479.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.167, allocations: 99.89 kB / 479.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.167, allocations: 0 / 479.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1671, allocations: 47.92 kB / 479.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1674, allocations: 23.98 kB / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1689, allocations: 0.9862 MB / 480.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1692, allocations: 0.7126 MB / 481.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.519e-05/0.1693, allocations: 33.41 kB / 481.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.454e-05/0.1694, allocations: 47.41 kB / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1694, allocations: 0 / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.1853, allocations: 3.472 MB / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/0.1856, allocations: 220.9 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.046, allocations: 0 / 485.2 MB, free: 15.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat