Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001735, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2375/0.2375, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 78.55 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1485, allocations: 62.44 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00424/0.1527, allocations: 1.988 MB / 481.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.155, allocations: 1.099 MB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.1552, allocations: 0 / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.1557, allocations: 155.6 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.1562, allocations: 167.5 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1566, allocations: 103.8 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.157, allocations: 239.3 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1571, allocations: 25.67 kB / 483.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1574, allocations: 115.5 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1576, allocations: 143.5 kB / 483.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.1577, allocations: 8 kB / 483.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1578, allocations: 63.98 kB / 483.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1579, allocations: 55.77 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1581, allocations: 83.36 kB / 483.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.1585, allocations: 223.5 kB / 484 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1585, allocations: 0 / 484 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1585, allocations: 0 / 484 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1585, allocations: 0 / 484 MB, free: 1.016 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.001024/0.1595, allocations: 0.5409 MB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.1596, allocations: 8.031 kB / 484.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.1597, allocations: 42.73 kB / 484.6 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.1598, allocations: 24.66 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.1602, allocations: 275.5 kB / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1602, allocations: 4.375 kB / 484.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.1603, allocations: 11.94 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.1607, allocations: 114 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.1607, allocations: 4 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.1607, allocations: 0 / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1608, allocations: 7.984 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.1609, allocations: 47.88 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.1618, allocations: 472.6 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.1623, allocations: 125.1 kB / 485.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1625, allocations: 45.83 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.1625, allocations: 3.984 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.163, allocations: 121.2 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.163, allocations: 0 / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001614/0.1646, allocations: 492.1 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.1647, allocations: 85.09 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.1651, allocations: 375.3 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1651, allocations: 33.64 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1653, allocations: 148.4 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.1653, allocations: 71.05 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.1654, allocations: 41.7 kB / 487.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1656, allocations: 342.8 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1657, allocations: 59.98 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.1659, allocations: 91.39 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1662, allocations: 155.5 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1662, allocations: 0 / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004136/0.1666, allocations: 241 kB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1666, allocations: 6.812 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1666, allocations: 4 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1667, allocations: 0 / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.1668, allocations: 47.92 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1668, allocations: 0 / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.095e-05/0.1669, allocations: 7.984 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.167, allocations: 12 kB / 488 MB, free: 12.73 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.1672, allocations: 162.3 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.1673, allocations: 39.55 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.674e-05/0.1674, allocations: 33.83 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1674, allocations: 4 kB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.1674, allocations: 0 / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1674, allocations: 0 / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.1685, allocations: 0.7233 MB / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1685, allocations: 0 / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.1686, allocations: 39.92 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1687, allocations: 4 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1687, allocations: 7.984 kB / 489 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1687, allocations: 4 kB / 489 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1687, allocations: 8.062 kB / 489 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.1693, allocations: 416.8 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1694, allocations: 108.8 kB / 489.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.1694, allocations: 4 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1696, allocations: 11.98 kB / 489.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.1696, allocations: 27.86 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.1697, allocations: 8 kB / 489.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.17, allocations: 277.9 kB / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.17, allocations: 0 / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.1703, allocations: 48 kB / 489.9 MB, free: 10.71 MB / 366.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 (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.002018/0.1724, allocations: 1.345 MB / 491.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.1728, allocations: 175.6 kB / 491.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1728, allocations: 0 / 491.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.173, allocations: 79.91 kB / 491.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.1736, allocations: 83.56 kB / 491.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.1772, allocations: 2.772 MB / 494.4 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.1776, allocations: 0.7597 MB / 495.1 MB, free: 5.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.1778, allocations: 41.86 kB / 495.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.1779, allocations: 87.41 kB / 495.3 MB, free: 5.379 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1779, allocations: 0 / 495.3 MB, free: 5.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.1974, allocations: 5.865 MB / 0.4894 GB, free: 15.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.1976, allocations: 241.2 kB / 0.4896 GB, free: 15.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.169, allocations: 0 / 0.4896 GB, free: 15.37 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches