Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.001101/0.001101, allocations: 95.92 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009668/0.0009669, allocations: 176.1 kB / 16.58 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 222.8 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3817/0.3817, allocations: 43.54 MB / 314.6 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005249/0.0005249, allocations: 20 kB / 384 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1492, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00226/0.1515, allocations: 1.391 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1529, allocations: 0.7461 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.153, allocations: 4 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.1533, allocations: 55.73 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1536, allocations: 51.81 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.1539, allocations: 75.8 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.1541, allocations: 87.67 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.1542, allocations: 16.22 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1543, allocations: 39.84 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.1544, allocations: 31.8 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1545, allocations: 4 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1546, allocations: 35.97 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.1547, allocations: 23.92 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.1547, allocations: 41.64 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1549, allocations: 100.1 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1549, allocations: 4 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1549, allocations: 0 / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1549, allocations: 0 / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000647/0.1556, allocations: 422.6 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1556, allocations: 8.031 kB / 446 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.1557, allocations: 38.48 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.1558, allocations: 15.81 kB / 446.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.156, allocations: 210.8 kB / 446.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1561, allocations: 8 kB / 446.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1561, allocations: 3.984 kB / 446.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1563, allocations: 53.67 kB / 446.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1563, allocations: 0 / 446.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1563, allocations: 3.953 kB / 446.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.1563, allocations: 4 kB / 446.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.1564, allocations: 15.98 kB / 446.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.1568, allocations: 296.9 kB / 446.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.157, allocations: 54.69 kB / 446.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1571, allocations: 24.84 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.1571, allocations: 0 / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1573, allocations: 71.28 kB / 446.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1573, allocations: 4 kB / 446.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000556/0.1579, allocations: 181 kB / 447 MB, free: 8.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1579, allocations: 51.41 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1582, allocations: 262.5 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1582, allocations: 25.7 kB / 447.3 MB, free: 8.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.1583, allocations: 116 kB / 447.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.1583, allocations: 31.62 kB / 447.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1584, allocations: 0 / 447.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1585, allocations: 330.8 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.1586, allocations: 23.98 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.1586, allocations: 33.66 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.1587, allocations: 27.92 kB / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1587, allocations: 0 / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001905/0.1589, allocations: 101.5 kB / 447.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1589, allocations: 4 kB / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1589, allocations: 8.031 kB / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.159, allocations: 0 / 448 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.1591, allocations: 19.98 kB / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1591, allocations: 0 / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.1591, allocations: 4 kB / 448 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1591, allocations: 4 kB / 448 MB, free: 7.57 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001231/0.1593, allocations: 141.8 kB / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1593, allocations: 16.14 kB / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.1594, allocations: 21.39 kB / 448.2 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1594, allocations: 4 kB / 448.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1594, allocations: 0 / 448.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1594, allocations: 8 kB / 448.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.1598, allocations: 407.2 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1598, allocations: 4 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.1599, allocations: 8 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1599, allocations: 0 / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1599, allocations: 3.984 kB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1599, allocations: 4.031 kB / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1599, allocations: 4 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.1602, allocations: 208.1 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.1602, allocations: 85.02 kB / 448.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1602, allocations: 4 kB / 448.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.1603, allocations: 7.984 kB / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1604, allocations: 8 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1604, allocations: 4 kB / 448.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.1606, allocations: 204 kB / 449.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1606, allocations: 0 / 449.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1609, allocations: 28 kB / 449.1 MB, free: 6.32 MB / 382.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: 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 (8): * Single equations (assignments): 6 * 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.001621/0.1625, allocations: 1.107 MB / 450.2 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1627, allocations: 55.98 kB / 450.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1627, allocations: 3.938 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.1628, allocations: 27.98 kB / 450.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1631, allocations: 31.91 kB / 450.4 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1646, allocations: 0.8665 MB / 451.2 MB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.165, allocations: 0.7238 MB / 451.9 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.699e-05/0.1651, allocations: 9.203 kB / 452 MB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.1652, allocations: 43.41 kB / 452 MB, free: 3.391 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1652, allocations: 0 / 452 MB, free: 3.391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.1807, allocations: 3.253 MB / 455.2 MB, free: 136 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2583/0.4391, allocations: 217.5 kB / 455.5 MB, free: 48.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.146, allocations: 0 / 455.5 MB, free: 48.57 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat