Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2474/0.2474, allocations: 46.08 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 77.31 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1541, allocations: 62.46 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004053/0.1582, allocations: 1.777 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.16, allocations: 1.021 MB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1602, allocations: 3.938 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.1605, allocations: 35.89 kB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.1609, allocations: 79.67 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1612, allocations: 63.88 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.1614, allocations: 91.75 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1615, allocations: 19.98 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1616, allocations: 43.72 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.1617, allocations: 35.78 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1617, allocations: 0 / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1619, allocations: 43.98 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.1619, allocations: 23.91 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.162, allocations: 27.75 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1622, allocations: 119.8 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1622, allocations: 0 / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1622, allocations: 0 / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1623, allocations: 4 kB / 482.8 MB, free: 2.227 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.000583/0.1628, allocations: 422.9 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1629, allocations: 8.875 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.163, allocations: 34.73 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.163, allocations: 8.844 kB / 483.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1633, allocations: 214.7 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1633, allocations: 8.375 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1633, allocations: 3.938 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1635, allocations: 65.55 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1635, allocations: 7.906 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1635, allocations: 0 / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1636, allocations: 0 / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.1637, allocations: 19.98 kB / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.1641, allocations: 280.9 kB / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1642, allocations: 66.61 kB / 483.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.1643, allocations: 16.86 kB / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1643, allocations: 0 / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.1646, allocations: 67.39 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1646, allocations: 0 / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005686/0.1651, allocations: 169.2 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1652, allocations: 59.41 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1654, allocations: 198.7 kB / 484.4 MB, free: 420 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1654, allocations: 29.7 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.1655, allocations: 100.1 kB / 484.5 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.1655, allocations: 27.69 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1656, allocations: 21.72 kB / 484.6 MB, free: 224 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1657, allocations: 322.8 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.1658, allocations: 23.98 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.1659, allocations: 41.64 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.166, allocations: 57.72 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.166, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.1662, allocations: 105.4 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1662, allocations: 4 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1662, allocations: 4 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1663, allocations: 4.031 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.1664, allocations: 15.98 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1664, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.1664, allocations: 11.94 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1665, allocations: 4.375 kB / 485.2 MB, free: 15.61 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.0001165/0.1666, allocations: 125.8 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.1666, allocations: 7.906 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.1667, allocations: 21.56 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1667, allocations: 0 / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1667, allocations: 8 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.1667, allocations: 8.109 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.1672, allocations: 403.2 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1672, allocations: 3.938 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.1673, allocations: 8 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.1673, allocations: 3.938 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1673, allocations: 4 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1673, allocations: 3.984 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1673, allocations: 4.031 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1676, allocations: 200.2 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.1676, allocations: 88.92 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1677, allocations: 3.938 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.1678, allocations: 4 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1678, allocations: 11.98 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1678, allocations: 8 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.168, allocations: 152.7 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.168, allocations: 0 / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1682, allocations: 20 kB / 486.2 MB, free: 14.43 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.001539/0.1698, allocations: 1.097 MB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.17, allocations: 51.98 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.17, allocations: 64 / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.1701, allocations: 35.92 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1704, allocations: 27.97 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1723, allocations: 1.676 MB / 489.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1726, allocations: 0.7043 MB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.1726, allocations: 12.88 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.1727, allocations: 39.42 kB / 489.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1727, allocations: 0 / 489.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.1875, allocations: 3.186 MB / 493 MB, free: 7.723 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.1877, allocations: 232.7 kB / 493.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.1, allocations: 4 kB / 493.3 MB, free: 7.469 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches