Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001125/0.001125, allocations: 97.38 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.00129/0.00129, allocations: 174 kB / 16.57 MB, free: 6.391 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.775/1.775, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.4878/0.4878, allocations: 43.55 MB / 314.5 MB, free: 8.742 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.0005743/0.0005747, allocations: 16 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1677, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002634/0.1704, allocations: 1.516 MB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.172, allocations: 0.8085 MB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.767e-05/0.1721, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.1726, allocations: 155.6 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.1729, allocations: 119.7 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.1734, allocations: 127.7 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.1737, allocations: 139.7 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.1738, allocations: 17.55 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.174, allocations: 91.67 kB / 445.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1742, allocations: 95.64 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1742, allocations: 4 kB / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1743, allocations: 31.92 kB / 446 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.1744, allocations: 47.81 kB / 446 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.064e-05/0.1745, allocations: 53.58 kB / 446 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1747, allocations: 132 kB / 446.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1748, allocations: 0 / 446.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1748, allocations: 3.938 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1748, allocations: 4 kB / 446.2 MB, free: 9.602 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.0008251/0.1756, allocations: 0.4981 MB / 446.7 MB, free: 9.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1757, allocations: 11.97 kB / 446.7 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.1757, allocations: 30.56 kB / 446.7 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.1758, allocations: 23.72 kB / 446.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.1762, allocations: 250.6 kB / 447 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1762, allocations: 8 kB / 447 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1763, allocations: 8 kB / 447 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.1766, allocations: 95.3 kB / 447.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.1766, allocations: 4 kB / 447.1 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.1766, allocations: 3.953 kB / 447.1 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1766, allocations: 0 / 447.1 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.1768, allocations: 43.97 kB / 447.2 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.1774, allocations: 440.9 kB / 447.6 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.1777, allocations: 121.3 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.1778, allocations: 12.06 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.1781, allocations: 109.1 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1781, allocations: 0 / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009832/0.1791, allocations: 356 kB / 448.2 MB, free: 7.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.1791, allocations: 77.11 kB / 448.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.1796, allocations: 359 kB / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1796, allocations: 29.7 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1797, allocations: 136.4 kB / 448.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.1798, allocations: 51.34 kB / 448.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.1798, allocations: 0 / 448.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1799, allocations: 342.8 kB / 449.1 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1801, allocations: 43.94 kB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1802, allocations: 71.41 kB / 449.3 MB, free: 6.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1803, allocations: 52.08 kB / 449.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1803, allocations: 0 / 449.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003509/0.1807, allocations: 177.3 kB / 449.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1807, allocations: 4 kB / 449.5 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1807, allocations: 0 / 449.5 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.1808, allocations: 8.062 kB / 449.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1809, allocations: 31.92 kB / 449.5 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.181, allocations: 4 kB / 449.5 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/0.181, allocations: 11.98 kB / 449.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1811, allocations: 4 kB / 449.5 MB, free: 5.977 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.0002121/0.1813, allocations: 161.6 kB / 449.7 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.1813, allocations: 31.61 kB / 449.7 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.441e-05/0.1814, allocations: 33.73 kB / 449.8 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1814, allocations: 11.94 kB / 449.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1815, allocations: 0 / 449.8 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1815, allocations: 3.938 kB / 449.8 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009002/0.1824, allocations: 0.5977 MB / 450.4 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1824, allocations: 4 kB / 450.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.1825, allocations: 27.98 kB / 450.4 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1825, allocations: 0 / 450.4 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1825, allocations: 4 kB / 450.4 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1825, allocations: 4 kB / 450.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.286e-05/0.1825, allocations: 7.953 kB / 450.4 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.183, allocations: 397.2 kB / 450.8 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1831, allocations: 108.7 kB / 450.9 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.1832, allocations: 8 kB / 450.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1833, allocations: 7.984 kB / 450.9 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.1834, allocations: 11.98 kB / 450.9 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.1834, allocations: 12 kB / 451 MB, free: 4.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.1837, allocations: 261.9 kB / 451.2 MB, free: 4.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1837, allocations: 0 / 451.2 MB, free: 4.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.1841, allocations: 43.98 kB / 451.3 MB, free: 4.129 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.002119/0.1862, allocations: 1.5 MB / 452.8 MB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.1865, allocations: 111.8 kB / 452.9 MB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1865, allocations: 0 / 452.9 MB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1867, allocations: 59.91 kB / 452.9 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1871, allocations: 52.69 kB / 453 MB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.1895, allocations: 1.751 MB / 454.7 MB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2529/0.4424, allocations: 0.7534 MB / 455.5 MB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.4427, allocations: 32.03 kB / 455.5 MB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.4428, allocations: 72.66 kB / 455.6 MB, free: 45.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.763e-06/0.4429, allocations: 0 / 455.6 MB, free: 45.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.4605, allocations: 4.818 MB / 460.4 MB, free: 45.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.4607, allocations: 211.7 kB / 460.6 MB, free: 45.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.359, allocations: 0 / 460.6 MB, free: 45.05 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat