Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007723/0.0007724, allocations: 92.81 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009174/0.0009175, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.000304, allocations: 12 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002583/0.1538, allocations: 1.446 MB / 484.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1557, allocations: 0.9941 MB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1558, allocations: 4 kB / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1561, allocations: 35.83 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.1565, allocations: 67.77 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.1568, allocations: 67.86 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.157, allocations: 99.64 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1572, allocations: 11.98 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1573, allocations: 43.78 kB / 485.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.1574, allocations: 27.8 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1574, allocations: 4 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.1575, allocations: 43.97 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.1576, allocations: 23.86 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.1577, allocations: 61.44 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1579, allocations: 115.8 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.158, allocations: 0 / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.158, allocations: 0 / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.158, allocations: 4 kB / 486.2 MB, free: 0.9844 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005937/0.1586, allocations: 401.3 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1586, allocations: 12.88 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.1587, allocations: 30.75 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.1587, allocations: 16.83 kB / 486.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.159, allocations: 210.6 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.159, allocations: 8.312 kB / 486.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1591, allocations: 7.922 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1592, allocations: 57.67 kB / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1592, allocations: 0 / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1593, allocations: 0 / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1593, allocations: 4 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.1594, allocations: 19.98 kB / 487 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.1598, allocations: 292.7 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.16, allocations: 66.67 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.1601, allocations: 16.86 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1601, allocations: 0 / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1603, allocations: 67.39 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 5.17e-06/0.1603, allocations: 3.984 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000589/0.1609, allocations: 173.2 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.161, allocations: 55.41 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.1612, allocations: 202.7 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1612, allocations: 29.64 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.1613, allocations: 100.1 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1613, allocations: 23.7 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.1614, allocations: 17.72 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1615, allocations: 322.8 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.1616, allocations: 19.98 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/0.1616, allocations: 41.7 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1618, allocations: 53.78 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1618, allocations: 0 / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.162, allocations: 109.4 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.162, allocations: 4 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.162, allocations: 192 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.162, allocations: 8.031 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.1621, allocations: 19.88 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.1622, allocations: 3.984 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.1622, allocations: 7.938 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1622, allocations: 4 kB / 488.6 MB, free: 14.38 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.1623, allocations: 121.8 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1624, allocations: 11.89 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.1624, allocations: 13.41 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1624, allocations: 11.94 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1624, allocations: 0 / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1625, allocations: 3.938 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.1629, allocations: 399.2 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1629, allocations: 0 / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.163, allocations: 8 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.163, allocations: 3.938 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.163, allocations: 8 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.163, allocations: 4.031 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.163, allocations: 0 / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1632, allocations: 200.2 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.1633, allocations: 96.91 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1633, allocations: 4.312 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.1634, allocations: 4 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1635, allocations: 19.98 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1635, allocations: 4 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1636, allocations: 152.7 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1636, allocations: 0 / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1639, allocations: 24 kB / 489.6 MB, free: 13.21 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/0.1655, allocations: 1.094 MB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1657, allocations: 55.92 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1657, allocations: 4.062 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.1658, allocations: 31.97 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1661, allocations: 29.53 kB / 490.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.168, allocations: 1.662 MB / 492.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1684, allocations: 0.7082 MB / 493.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.1684, allocations: 17.14 kB / 493.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.1685, allocations: 35.42 kB / 493.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1685, allocations: 3.938 kB / 493.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.1827, allocations: 3.01 MB / 496.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.183, allocations: 232.1 kB / 496.5 MB, free: 6.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.027, allocations: 7.75 kB / 496.5 MB, free: 6.449 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches