Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007587/0.0007587, allocations: 92.47 kB / 17.35 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009389/0.0009387, allocations: 195.6 kB / 18.28 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.0003183, allocations: 12 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002718/0.1424, allocations: 1.45 MB / 484.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1441, allocations: 0.9941 MB / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1443, allocations: 0 / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1446, allocations: 51.86 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.145, allocations: 83.67 kB / 485.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1453, allocations: 63.88 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1455, allocations: 107.7 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1456, allocations: 8 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1457, allocations: 43.73 kB / 486 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.1458, allocations: 39.77 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1459, allocations: 4 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.146, allocations: 39.98 kB / 486.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.1461, allocations: 31.86 kB / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.1461, allocations: 69.36 kB / 486.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1464, allocations: 135.8 kB / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1464, allocations: 0 / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1464, allocations: 0 / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1464, allocations: 0 / 486.3 MB, free: 0.9492 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.0005599/0.147, allocations: 425.1 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.147, allocations: 8.875 kB / 486.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.1471, allocations: 34.75 kB / 486.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.1471, allocations: 20.75 kB / 486.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.1474, allocations: 224.9 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1474, allocations: 384 / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.1475, allocations: 7.938 kB / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1476, allocations: 53.67 kB / 487.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1477, allocations: 0 / 487.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1477, allocations: 0 / 487.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1477, allocations: 0 / 487.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.1478, allocations: 19.98 kB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1482, allocations: 308.7 kB / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1484, allocations: 62.55 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.1484, allocations: 20.86 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1485, allocations: 0 / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1486, allocations: 67.39 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1486, allocations: 0 / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005601/0.1492, allocations: 181 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1493, allocations: 55.41 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.1496, allocations: 274.9 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1496, allocations: 29.7 kB / 488.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.1497, allocations: 116 kB / 488.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1498, allocations: 31.64 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1498, allocations: 13.72 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1499, allocations: 334.8 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.15, allocations: 20 kB / 488.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.205e-05/0.1501, allocations: 33.7 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1502, allocations: 53.7 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1502, allocations: 4 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.1504, allocations: 109.4 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1504, allocations: 8 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1504, allocations: 0 / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1504, allocations: 0 / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.1505, allocations: 12 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1505, allocations: 4 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.1506, allocations: 11.86 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1506, allocations: 4 kB / 488.8 MB, free: 14.2 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.0001143/0.1507, allocations: 144.2 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1508, allocations: 15.81 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.101e-05/0.1508, allocations: 25.39 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1509, allocations: 0 / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1509, allocations: 384 / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1509, allocations: 3.938 kB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.1513, allocations: 411.5 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1513, allocations: 8.031 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.1514, allocations: 4 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1514, allocations: 7.938 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1514, allocations: 192 / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1514, allocations: 3.938 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1514, allocations: 7.938 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1517, allocations: 212.1 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1517, allocations: 92.92 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1518, allocations: 7.938 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.1518, allocations: 7.984 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.1519, allocations: 4 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1519, allocations: 4 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.1521, allocations: 204.4 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1521, allocations: 4 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1523, allocations: 24 kB / 490 MB, free: 12.93 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.001488/0.1538, allocations: 1.087 MB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1541, allocations: 55.92 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1541, allocations: 0 / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.1542, allocations: 27.98 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1546, allocations: 35.86 kB / 491.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.1569, allocations: 1.859 MB / 493 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1573, allocations: 0.716 MB / 493.7 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.533e-05/0.1573, allocations: 12.88 kB / 493.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.1574, allocations: 39.42 kB / 493.8 MB, free: 9.117 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1574, allocations: 0 / 493.8 MB, free: 9.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.1721, allocations: 3.342 MB / 497.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.1724, allocations: 236.4 kB / 497.4 MB, free: 5.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/1.935, allocations: 7.75 kB / 497.4 MB, free: 5.645 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches