Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001518, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003177, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002088/0.1381, allocations: 1.446 MB / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1398, allocations: 0.9902 MB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.1399, allocations: 4 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1402, allocations: 55.8 kB / 485.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.1405, allocations: 83.72 kB / 485.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1408, allocations: 67.81 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.141, allocations: 99.69 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.1411, allocations: 8 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1412, allocations: 43.78 kB / 486 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.523e-05/0.1413, allocations: 39.72 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1413, allocations: 4 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1414, allocations: 39.98 kB / 486.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.1415, allocations: 31.89 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.1416, allocations: 61.39 kB / 486.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1418, allocations: 143.8 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1418, allocations: 0 / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1418, allocations: 0 / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1419, allocations: 0 / 486.3 MB, free: 0.9297 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.0005897/0.1424, allocations: 422.8 kB / 486.7 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1425, allocations: 8.875 kB / 486.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.1426, allocations: 38.69 kB / 486.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.1426, allocations: 12.75 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1429, allocations: 225 kB / 487 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.1429, allocations: 8.359 kB / 487 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.1429, allocations: 7.938 kB / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1431, allocations: 53.67 kB / 487.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1431, allocations: 0 / 487.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1431, allocations: 0 / 487.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1431, allocations: 0 / 487.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.1432, allocations: 27.92 kB / 487.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.1436, allocations: 300.8 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1438, allocations: 54.67 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.1439, allocations: 20.84 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1439, allocations: 3.938 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.1441, allocations: 71.33 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.1441, allocations: 4 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000561/0.1447, allocations: 185 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1447, allocations: 55.41 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.145, allocations: 270.9 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.145, allocations: 25.7 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.1451, allocations: 116 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.1452, allocations: 27.64 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1452, allocations: 17.72 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1454, allocations: 330.8 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.1455, allocations: 19.98 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.1455, allocations: 33.7 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1457, allocations: 61.64 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1457, allocations: 4 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002154/0.1459, allocations: 101.4 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1459, allocations: 8 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1459, allocations: 0 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.146, allocations: 0 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1461, allocations: 19.98 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1461, allocations: 4 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.1462, allocations: 4.312 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1462, allocations: 4 kB / 488.8 MB, free: 14.18 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.0001423/0.1463, allocations: 136.8 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1464, allocations: 19.84 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.1464, allocations: 25.33 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1464, allocations: 0 / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1465, allocations: 4 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.1465, allocations: 3.938 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.147, allocations: 403.3 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.147, allocations: 4 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.1471, allocations: 15.92 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1471, allocations: 7.969 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1471, allocations: 0 / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1471, allocations: 240 / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1471, allocations: 4 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1474, allocations: 212.1 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1475, allocations: 96.91 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1475, allocations: 11.94 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.1476, allocations: 0 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1476, allocations: 7.984 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.1477, allocations: 8 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1479, allocations: 208.3 kB / 489.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1479, allocations: 0 / 489.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1482, allocations: 27.98 kB / 490 MB, free: 12.91 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.001696/0.1499, allocations: 1.081 MB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1501, allocations: 67.89 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1501, allocations: 0 / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.747e-05/0.1501, allocations: 23.94 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1505, allocations: 31.97 kB / 491.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.1526, allocations: 1.844 MB / 493 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1529, allocations: 0.7238 MB / 493.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.135e-05/0.153, allocations: 17.17 kB / 493.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.142e-05/0.1531, allocations: 43.42 kB / 493.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1531, allocations: 0 / 493.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.1679, allocations: 3.336 MB / 497.1 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.1682, allocations: 236.5 kB / 497.4 MB, free: 5.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.936, allocations: 3.938 kB / 497.4 MB, free: 5.629 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches