Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.0007588/0.0007588, allocations: 97.47 kB / 17 MB, free: 6.418 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.0007632/0.0007633, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.351/1.351, allocations: 223.3 MB / 241.9 MB, free: 14.62 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.1975/0.1975, allocations: 44.22 MB / 337.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004545, allocations: 12 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1654, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002028/0.1675, allocations: 1.421 MB / 473.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1688, allocations: 0.8036 MB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.1689, allocations: 0 / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.1693, allocations: 91.75 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1695, allocations: 63.8 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1698, allocations: 95.81 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.17, allocations: 95.69 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.1701, allocations: 12 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1703, allocations: 51.75 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1704, allocations: 55.81 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1704, allocations: 0 / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1705, allocations: 43.98 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.1706, allocations: 27.92 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.1706, allocations: 41.62 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1708, allocations: 100 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1708, allocations: 0 / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1708, allocations: 0 / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1708, allocations: 0 / 474.5 MB, free: 10.7 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006/0.1714, allocations: 422.8 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1715, allocations: 8.031 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.1715, allocations: 38.55 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1716, allocations: 19.81 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1718, allocations: 207.3 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1719, allocations: 8 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1719, allocations: 7.891 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1721, allocations: 61.61 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1721, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1721, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1721, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.581e-05/0.1722, allocations: 27.98 kB / 475.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.1727, allocations: 308.7 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1729, allocations: 58.48 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/0.173, allocations: 24.97 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.173, allocations: 4 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.1733, allocations: 67.39 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.1733, allocations: 4 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00084/0.1741, allocations: 237.1 kB / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.1743, allocations: 51.41 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.1746, allocations: 226.6 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1746, allocations: 29.7 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.1747, allocations: 112.1 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.1748, allocations: 39.45 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.1748, allocations: 4 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.175, allocations: 326.8 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.1751, allocations: 31.98 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.1751, allocations: 48.08 kB / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.1752, allocations: 32.05 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1752, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002209/0.1755, allocations: 133.5 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1755, allocations: 4 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1755, allocations: 0 / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1755, allocations: 0 / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.1756, allocations: 23.98 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1756, allocations: 0 / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.1757, allocations: 4 kB / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1757, allocations: 4 kB / 477.1 MB, free: 7.938 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001227/0.1758, allocations: 145.8 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.1758, allocations: 11.81 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.1759, allocations: 21.39 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1759, allocations: 4 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1759, allocations: 4 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1759, allocations: 0 / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.1765, allocations: 463.9 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1765, allocations: 0 / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.1765, allocations: 12 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1765, allocations: 4 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1766, allocations: 0 / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1766, allocations: 4 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.1766, allocations: 3.953 kB / 477.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.1769, allocations: 233.1 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.177, allocations: 92.92 kB / 478 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.177, allocations: 7.984 kB / 478 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.1771, allocations: 0 / 478 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.1771, allocations: 19.92 kB / 478.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.1771, allocations: 8 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.1774, allocations: 168.3 kB / 478.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1774, allocations: 0 / 478.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1777, allocations: 35.98 kB / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001786/0.1795, allocations: 1.168 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1797, allocations: 79.91 kB / 479.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1797, allocations: 0 / 479.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.1798, allocations: 39.92 kB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1802, allocations: 35.06 kB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.1815, allocations: 0.8742 MB / 480.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1819, allocations: 0.7121 MB / 481.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.182, allocations: 16.64 kB / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.1821, allocations: 43.41 kB / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1821, allocations: 0 / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.1964, allocations: 3.389 MB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.1966, allocations: 220.8 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.134, allocations: 2.5 kB / 484.8 MB, free: 268 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat