Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001015, allocations: 93.84 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.001264/0.001264, allocations: 203.8 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.434/1.434, allocations: 227.7 MB / 246.8 MB, free: 9.547 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002748, allocations: 12 kB / 419.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 63.56 MB / 483.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002315/0.1427, allocations: 1.473 MB / 484.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1445, allocations: 0.9903 MB / 485.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.409e-05/0.1446, allocations: 3.938 kB / 485.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.145, allocations: 83.83 kB / 485.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.1453, allocations: 99.64 kB / 485.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.1456, allocations: 67.81 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1458, allocations: 119.7 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1459, allocations: 15.98 kB / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1461, allocations: 55.64 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1462, allocations: 59.81 kB / 486.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1462, allocations: 4 kB / 486.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1464, allocations: 51.98 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.1465, allocations: 27.91 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.1465, allocations: 69.38 kB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.1468, allocations: 139.8 kB / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1468, allocations: 0 / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1468, allocations: 0 / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1468, allocations: 0 / 486.4 MB, free: 0.7461 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005806/0.1474, allocations: 419 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1475, allocations: 12.88 kB / 486.9 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.1475, allocations: 34.75 kB / 486.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.1476, allocations: 20.75 kB / 486.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1478, allocations: 216.9 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1479, allocations: 4.375 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1479, allocations: 7.938 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1481, allocations: 65.59 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1481, allocations: 3.984 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1481, allocations: 0 / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1481, allocations: 0 / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.1482, allocations: 31.97 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1487, allocations: 304.7 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.1489, allocations: 62.48 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.149, allocations: 28.97 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.149, allocations: 0 / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1492, allocations: 71.39 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.1492, allocations: 0 / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007923/0.15, allocations: 245.6 kB / 487.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.15, allocations: 55.34 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.1503, allocations: 238.1 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1503, allocations: 29.7 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.1504, allocations: 112 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.1504, allocations: 35.55 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.1505, allocations: 17.72 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1506, allocations: 326.8 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.1507, allocations: 27.98 kB / 488.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.1508, allocations: 45.7 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1509, allocations: 73.7 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1509, allocations: 7.938 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002213/0.1511, allocations: 137.4 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1512, allocations: 4 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1512, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1512, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.1513, allocations: 31.86 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1513, allocations: 4.062 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.1513, allocations: 4 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1514, allocations: 8 kB / 489.1 MB, free: 13.86 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 (13): * Single equations (assignments): 13 * 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.1515, allocations: 133.9 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.1515, allocations: 15.81 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.1516, allocations: 17.39 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1516, allocations: 7.938 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1516, allocations: 0 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1516, allocations: 0 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.1521, allocations: 460 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1521, allocations: 0 / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.1522, allocations: 12 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1522, allocations: 0 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1522, allocations: 11.98 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1522, allocations: 3.938 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1522, allocations: 0 / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1525, allocations: 237 kB / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.1526, allocations: 92.91 kB / 490 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1526, allocations: 8 kB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.1527, allocations: 4 kB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1527, allocations: 7.984 kB / 490 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1527, allocations: 11.94 kB / 490.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.1529, allocations: 176.4 kB / 490.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1529, allocations: 4 kB / 490.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1532, allocations: 28 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001606/0.1548, allocations: 1.164 MB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.155, allocations: 79.91 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.155, allocations: 0 / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.979e-05/0.1551, allocations: 47.86 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1555, allocations: 27.97 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1575, allocations: 1.858 MB / 493.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1578, allocations: 0.716 MB / 494.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.17e-05/0.1578, allocations: 24.8 kB / 494.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.1579, allocations: 47.34 kB / 494.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1579, allocations: 4 kB / 494.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.1722, allocations: 3.489 MB / 497.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.1724, allocations: 233.3 kB / 497.9 MB, free: 5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.879, allocations: 0 / 497.9 MB, free: 5 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches