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.001146/0.001146, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 73.17 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.139, allocations: 62.46 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00406/0.1431, allocations: 1.927 MB / 482.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1452, allocations: 1.121 MB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.1454, allocations: 0 / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.1459, allocations: 163.5 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.1466, allocations: 179.3 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.1471, allocations: 127.6 kB / 483.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.1476, allocations: 239.3 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1478, allocations: 29.67 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.1481, allocations: 107.6 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1483, allocations: 139.4 kB / 484.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.1484, allocations: 8 kB / 484.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.1486, allocations: 67.97 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.1488, allocations: 47.83 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1489, allocations: 91.28 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.1495, allocations: 215.5 kB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.1495, allocations: 4 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1495, allocations: 0 / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1495, allocations: 0 / 484.6 MB, free: 0.7422 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.001004/0.1505, allocations: 0.5371 MB / 485.1 MB, free: 160 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.1506, allocations: 12.03 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.803e-05/0.1507, allocations: 34.75 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.1508, allocations: 24.66 kB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.1512, allocations: 283.4 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1512, allocations: 4.375 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.1512, allocations: 11.94 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.1516, allocations: 107.3 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.1516, allocations: 0 / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.1517, allocations: 8 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1517, allocations: 0 / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.1519, allocations: 51.89 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.1527, allocations: 472.8 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.1533, allocations: 117.2 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1534, allocations: 49.75 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.1535, allocations: 4 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/0.154, allocations: 121 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/0.154, allocations: 0 / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00207/0.1561, allocations: 485.1 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.1561, allocations: 89.05 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006888/0.1568, allocations: 375.3 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.1569, allocations: 29.7 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1571, allocations: 152.4 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1572, allocations: 71.08 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.1573, allocations: 41.66 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1575, allocations: 342.8 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.1577, allocations: 63.97 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.1579, allocations: 91.41 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.1583, allocations: 155.5 kB / 488.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1583, allocations: 3.984 kB / 488.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005972/0.1589, allocations: 233.1 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.159, allocations: 8 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.159, allocations: 80 / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.159, allocations: 7.984 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1593, allocations: 43.92 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.1593, allocations: 11.97 kB / 488.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1594, allocations: 4 kB / 488.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.1595, allocations: 8 kB / 488.6 MB, free: 12.46 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.0002257/0.1597, allocations: 165.8 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.1598, allocations: 31.56 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.1599, allocations: 37.83 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1599, allocations: 0 / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1599, allocations: 0 / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.16, allocations: 4 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.1614, allocations: 0.7232 MB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.1615, allocations: 4 kB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.1616, allocations: 27.94 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1616, allocations: 0 / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.1617, allocations: 11.98 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.1617, allocations: 4 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.1617, allocations: 4.25 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.1625, allocations: 425.6 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.1626, allocations: 100.8 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.1626, allocations: 8 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.1629, allocations: 11.98 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.163, allocations: 19.92 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.163, allocations: 11.98 kB / 490.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003847/0.1634, allocations: 277.9 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1634, allocations: 0 / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006087/0.164, allocations: 48 kB / 490.4 MB, free: 10.45 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.003026/0.1671, allocations: 1.354 MB / 491.8 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005949/0.1677, allocations: 171.9 kB / 492 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1677, allocations: 0 / 492 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.168, allocations: 83.84 kB / 492 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.169, allocations: 67.45 kB / 492.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.1742, allocations: 2.71 MB / 494.8 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.1748, allocations: 0.7635 MB / 495.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.175, allocations: 45.91 kB / 495.6 MB, free: 5.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.1753, allocations: 91.34 kB / 495.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1753, allocations: 3.938 kB / 495.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.2042, allocations: 5.98 MB / 0.4899 GB, free: 15.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.44, allocations: 12 kB / 0.49 GB, free: 15.26 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