Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.0009553/0.0009551, allocations: 96.91 kB / 15.69 MB, free: 480 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.0009619/0.000962, allocations: 177.2 kB / 16.57 MB, free: 6.848 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.8/1.8, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.5022/0.5022, allocations: 43.54 MB / 314.5 MB, free: 9.043 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.0005287/0.0005287, allocations: 16 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.161, allocations: 58.85 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002802/0.1639, allocations: 1.52 MB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1654, allocations: 0.8124 MB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1655, allocations: 4 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005649/0.1661, allocations: 203.5 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.1665, allocations: 147.7 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1669, allocations: 135.6 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.1672, allocations: 147.7 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1674, allocations: 25.52 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1675, allocations: 103.6 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1677, allocations: 107.6 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1677, allocations: 4 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1679, allocations: 31.92 kB / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.168, allocations: 47.83 kB / 446.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.168, allocations: 57.58 kB / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1683, allocations: 156 kB / 446.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1683, allocations: 3.938 kB / 446.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1683, allocations: 0 / 446.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1684, allocations: 0 / 446.3 MB, free: 9.703 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008657/0.1692, allocations: 0.5174 MB / 446.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1693, allocations: 12.03 kB / 446.9 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.1693, allocations: 34.56 kB / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.1694, allocations: 31.62 kB / 446.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.1698, allocations: 263.1 kB / 447.2 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.1698, allocations: 4 kB / 447.2 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1699, allocations: 4 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.1701, allocations: 95.3 kB / 447.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1702, allocations: 4 kB / 447.3 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1702, allocations: 11.94 kB / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1702, allocations: 0 / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1703, allocations: 35.98 kB / 447.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.1709, allocations: 445 kB / 447.8 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.1712, allocations: 129.4 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.1713, allocations: 7.891 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.1716, allocations: 109.1 kB / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.1716, allocations: 0 / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000981/0.1726, allocations: 359.9 kB / 448.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.1727, allocations: 81.09 kB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.1732, allocations: 432.4 kB / 448.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.1732, allocations: 29.7 kB / 448.9 MB, free: 6.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1733, allocations: 152.4 kB / 449 MB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.1734, allocations: 55.28 kB / 449.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.1734, allocations: 4 kB / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.1736, allocations: 342.8 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1738, allocations: 43.92 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1739, allocations: 75.34 kB / 449.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.174, allocations: 48.14 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.174, allocations: 0 / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003068/0.1743, allocations: 177.3 kB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1744, allocations: 4 kB / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1744, allocations: 0 / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1744, allocations: 4 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1746, allocations: 35.92 kB / 449.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.1746, allocations: 4 kB / 449.8 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.1747, allocations: 11.89 kB / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1747, allocations: 11.98 kB / 449.8 MB, free: 5.922 MB / 382.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 (20): * Single equations (assignments): 20 * 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.0001727/0.1749, allocations: 173.8 kB / 450 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.1749, allocations: 23.72 kB / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.175, allocations: 42.56 kB / 450.1 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.175, allocations: 4 kB / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.175, allocations: 0 / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.175, allocations: 0 / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007549/0.1758, allocations: 0.6319 MB / 450.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1758, allocations: 0 / 450.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.1759, allocations: 19.98 kB / 450.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1759, allocations: 0 / 450.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1759, allocations: 4 kB / 450.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1759, allocations: 0.75 kB / 450.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1759, allocations: 7.953 kB / 450.7 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.1764, allocations: 405.2 kB / 451.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.1765, allocations: 104.8 kB / 451.2 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.1765, allocations: 8 kB / 451.2 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1766, allocations: 15.98 kB / 451.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.1767, allocations: 7.984 kB / 451.3 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1767, allocations: 12 kB / 451.3 MB, free: 4.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003374/0.1771, allocations: 319 kB / 451.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1771, allocations: 0 / 451.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003497/0.1775, allocations: 32 kB / 451.6 MB, free: 4 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.002096/0.1796, allocations: 1.513 MB / 453.1 MB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.1799, allocations: 115.8 kB / 453.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1799, allocations: 0 / 453.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.1801, allocations: 56.17 kB / 453.3 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.1806, allocations: 56.94 kB / 453.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.1835, allocations: 1.922 MB / 455.3 MB, free: 272 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3167/0.5003, allocations: 0.7654 MB / 456.1 MB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.5005, allocations: 32.17 kB / 456.1 MB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.5007, allocations: 84 kB / 456.2 MB, free: 45.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5007, allocations: 0 / 456.2 MB, free: 45.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.5176, allocations: 5.14 MB / 461.3 MB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.5179, allocations: 214.4 kB / 461.5 MB, free: 45.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.377, allocations: 7.312 kB / 461.5 MB, free: 45.22 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat