Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.001221/0.001227, allocations: 96.67 kB / 15.68 MB, free: 488 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.001914/0.001914, allocations: 176.8 kB / 16.57 MB, free: 6.379 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.922/1.922, allocations: 205.4 MB / 222.7 MB, free: 5.605 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.4855/0.4855, allocations: 43.54 MB / 314.5 MB, free: 8.785 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.0005175/0.0005175, allocations: 12 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1599, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002179/0.1621, allocations: 1.388 MB / 444.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1634, allocations: 0.7267 MB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.1634, allocations: 0 / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.1637, allocations: 43.75 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1639, allocations: 43.89 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1642, allocations: 79.7 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1643, allocations: 59.92 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.1644, allocations: 12.2 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.1645, allocations: 43.78 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1646, allocations: 23.86 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1647, allocations: 7.938 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.1648, allocations: 31.92 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.1648, allocations: 23.91 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.1649, allocations: 37.64 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.165, allocations: 92.09 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1651, allocations: 0 / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1651, allocations: 0 / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1651, allocations: 0 / 445.5 MB, free: 10.35 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.0005844/0.1657, allocations: 410.8 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1657, allocations: 12.03 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.1658, allocations: 34.55 kB / 445.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.1658, allocations: 15.81 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1661, allocations: 210.8 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1661, allocations: 3.938 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1661, allocations: 4 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1663, allocations: 53.67 kB / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1663, allocations: 0 / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1663, allocations: 7.938 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1663, allocations: 4 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.1664, allocations: 23.98 kB / 446.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1668, allocations: 284.9 kB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.167, allocations: 58.61 kB / 446.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.167, allocations: 4 kB / 446.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.1672, allocations: 71.47 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1672, allocations: 0 / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005403/0.1677, allocations: 177.2 kB / 446.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1678, allocations: 55.41 kB / 446.9 MB, free: 8.758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.168, allocations: 222.6 kB / 447.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1681, allocations: 25.7 kB / 447.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.1681, allocations: 108.1 kB / 447.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1682, allocations: 27.66 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1682, allocations: 4 kB / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1684, allocations: 322.8 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.1684, allocations: 23.92 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.1685, allocations: 33.7 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/0.1686, allocations: 28.06 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1686, allocations: 4.125 kB / 447.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1688, allocations: 113.5 kB / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1688, allocations: 7.938 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1688, allocations: 4 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1688, allocations: 0 / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.1689, allocations: 12 kB / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.169, allocations: 3.984 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.169, allocations: 4 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1691, allocations: 4 kB / 447.8 MB, free: 7.785 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.0001329/0.1692, allocations: 133.9 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1692, allocations: 15.77 kB / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.1693, allocations: 17.41 kB / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1693, allocations: 3.938 kB / 447.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1693, allocations: 0 / 447.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1693, allocations: 3.984 kB / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.1698, allocations: 391.4 kB / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1698, allocations: 11.97 kB / 448.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.1699, allocations: 8 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1699, allocations: 0 / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1699, allocations: 0 / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1699, allocations: 3.984 kB / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1699, allocations: 4 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.1702, allocations: 221.9 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1703, allocations: 85.02 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.1704, allocations: 4 kB / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.1704, allocations: 7.984 kB / 448.7 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.1705, allocations: 7.938 kB / 448.7 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1705, allocations: 0 / 448.7 MB, free: 6.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.1707, allocations: 176.3 kB / 448.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1707, allocations: 0 / 448.9 MB, free: 6.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.171, allocations: 27.91 kB / 448.9 MB, free: 6.574 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.001983/0.173, allocations: 1.186 MB / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1732, allocations: 55.92 kB / 450.1 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1733, allocations: 0 / 450.1 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.1733, allocations: 35.91 kB / 450.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1737, allocations: 28.09 kB / 450.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1753, allocations: 0.9205 MB / 451.1 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1757, allocations: 0.716 MB / 451.8 MB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.735e-05/0.1758, allocations: 16.86 kB / 451.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.1758, allocations: 35.42 kB / 451.9 MB, free: 3.512 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1758, allocations: 4 kB / 451.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.1912, allocations: 3.076 MB / 454.9 MB, free: 444 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.1915, allocations: 208.5 kB / 455.2 MB, free: 204 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.916, allocations: 4 kB / 455.2 MB, free: 200 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat