Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.0008876/0.0008876, allocations: 96.31 kB / 16.98 MB, free: 6.398 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.0009159/0.000916, allocations: 184 kB / 17.87 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.399/1.399, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2103/0.2103, allocations: 44.22 MB / 337.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 11.98 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1617, allocations: 61.92 MB / 471.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003609/0.1653, allocations: 1.543 MB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.1679, allocations: 0.8932 MB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1681, allocations: 7.938 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.1686, allocations: 147.6 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.1691, allocations: 119.7 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.1699, allocations: 158.5 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.1703, allocations: 143.7 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.1705, allocations: 25.66 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.1708, allocations: 91.61 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.171, allocations: 99.64 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1711, allocations: 4 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1712, allocations: 39.98 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.1714, allocations: 47.77 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.1715, allocations: 57.56 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.1718, allocations: 152 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1718, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1718, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1719, allocations: 0 / 475.1 MB, free: 10.08 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009224/0.1728, allocations: 0.4943 MB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1728, allocations: 8.031 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/0.1729, allocations: 42.55 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.173, allocations: 23.72 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.1735, allocations: 258.4 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.1735, allocations: 8 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.1736, allocations: 7.953 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1738, allocations: 111.3 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1738, allocations: 0 / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1738, allocations: 7.938 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1738, allocations: 0 / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.174, allocations: 47.95 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.1745, allocations: 472.6 kB / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.1748, allocations: 113.2 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1748, allocations: 4 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.1751, allocations: 135.7 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1751, allocations: 4 kB / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001196/0.1763, allocations: 488.4 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1764, allocations: 85.06 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.1767, allocations: 362.8 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1767, allocations: 29.7 kB / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.1768, allocations: 148.5 kB / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.1769, allocations: 63.11 kB / 477.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.1769, allocations: 4 kB / 477.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.177, allocations: 342.8 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1771, allocations: 51.98 kB / 478.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1772, allocations: 99.33 kB / 478.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1774, allocations: 60 kB / 478.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1774, allocations: 3.938 kB / 478.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003719/0.1778, allocations: 237.2 kB / 478.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1778, allocations: 4 kB / 478.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1778, allocations: 0 / 478.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1778, allocations: 4 kB / 478.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.178, allocations: 44.05 kB / 478.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.178, allocations: 3.953 kB / 478.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.1781, allocations: 11.98 kB / 478.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.1781, allocations: 12 kB / 478.8 MB, free: 6.09 MB / 350.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 (26): * Single equations (assignments): 26 * 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.0001317/0.1782, allocations: 154.3 kB / 478.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1783, allocations: 35.61 kB / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.1784, allocations: 33.73 kB / 479 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1784, allocations: 0 / 479 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1784, allocations: 8 kB / 479 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1784, allocations: 3.953 kB / 479 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.1792, allocations: 0.7195 MB / 479.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1792, allocations: 3.953 kB / 479.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-05/0.1793, allocations: 35.92 kB / 479.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1793, allocations: 4 kB / 479.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1793, allocations: 4 kB / 479.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1793, allocations: 0 / 479.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1793, allocations: 4 kB / 479.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.1798, allocations: 479 kB / 480.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.1798, allocations: 112.7 kB / 480.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.1799, allocations: 11.95 kB / 480.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.18, allocations: 11.98 kB / 480.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1801, allocations: 11.98 kB / 480.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1801, allocations: 16 kB / 480.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.1803, allocations: 257.9 kB / 480.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1804, allocations: 0 / 480.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.1807, allocations: 51.98 kB / 480.7 MB, free: 4.004 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001707/0.1824, allocations: 1.767 MB / 482.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.1827, allocations: 151.9 kB / 482.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1827, allocations: 8.062 kB / 482.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1829, allocations: 75.84 kB / 482.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1833, allocations: 48.84 kB / 482.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1853, allocations: 1.888 MB / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1856, allocations: 0.7677 MB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.1858, allocations: 37.94 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1859, allocations: 83.39 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1859, allocations: 0 / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.2005, allocations: 5.315 MB / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/0.2008, allocations: 216.9 kB / 491 MB, free: 9.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.981, allocations: 0 / 491 MB, free: 9.82 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat