Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 117.7 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.4 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001653, allocations: 73.61 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.152, allocations: 62.45 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003618/0.1557, allocations: 1.789 MB / 481.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1574, allocations: 1.029 MB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.1575, allocations: 0 / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.1577, allocations: 35.83 kB / 482.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.158, allocations: 79.73 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1583, allocations: 59.89 kB / 482.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1584, allocations: 119.6 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.765e-05/0.1585, allocations: 8 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.946e-05/0.1586, allocations: 43.78 kB / 482.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.1587, allocations: 43.78 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1587, allocations: 4 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.1589, allocations: 115.9 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.47e-05/0.1589, allocations: 19.92 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.159, allocations: 39.78 kB / 483 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1593, allocations: 175.8 kB / 483.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1593, allocations: 4 kB / 483.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1593, allocations: 0 / 483.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1593, allocations: 0 / 483.2 MB, free: 1.965 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.0004605/0.1598, allocations: 427 kB / 483.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.512e-05/0.1598, allocations: 12.03 kB / 483.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.1598, allocations: 34.73 kB / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.1599, allocations: 8.844 kB / 483.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1601, allocations: 208.1 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.1601, allocations: 4.375 kB / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1601, allocations: 11.94 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1603, allocations: 71.33 kB / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1603, allocations: 0 / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1603, allocations: 4 kB / 483.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1603, allocations: 0 / 483.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.1604, allocations: 23.92 kB / 483.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.1607, allocations: 284.8 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1609, allocations: 70.55 kB / 484.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.161, allocations: 24.97 kB / 484.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.161, allocations: 0 / 484.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.1612, allocations: 79.38 kB / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.1612, allocations: 0 / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000593/0.1618, allocations: 205.1 kB / 484.6 MB, free: 348 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1619, allocations: 77.2 kB / 484.7 MB, free: 252 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1621, allocations: 177.2 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1621, allocations: 29.69 kB / 484.9 MB, free: 32 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.1622, allocations: 96.14 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.1622, allocations: 31.55 kB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.1623, allocations: 33.72 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1624, allocations: 318.8 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.1624, allocations: 31.98 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.361e-05/0.1625, allocations: 58.53 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1627, allocations: 77.64 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1627, allocations: 4.031 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002251/0.1629, allocations: 125.4 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.163, allocations: 4 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.163, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.163, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1631, allocations: 27.92 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1631, allocations: 3.938 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.1632, allocations: 8 kB / 485.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1632, allocations: 0 / 485.7 MB, free: 15.19 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 9.729e-05/0.1633, allocations: 128.4 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1633, allocations: 7.906 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.1634, allocations: 16.72 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1634, allocations: 7.984 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1634, allocations: 3.938 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1634, allocations: 0 / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.1639, allocations: 427.2 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1639, allocations: 3.938 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.1639, allocations: 12 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.164, allocations: 0 / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.164, allocations: 3.984 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.164, allocations: 7.938 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.164, allocations: 0 / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1643, allocations: 220.3 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.1643, allocations: 92.94 kB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1644, allocations: 8 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.1644, allocations: 4 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1645, allocations: 3.984 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1645, allocations: 4 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1646, allocations: 132.5 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1646, allocations: 3.938 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.1649, allocations: 51.98 kB / 486.8 MB, free: 13.96 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 (10): * Single equations (assignments): 8 * 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.001699/0.1667, allocations: 1.209 MB / 488 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.1669, allocations: 83.84 kB / 488.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1669, allocations: 3.938 kB / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.249e-05/0.167, allocations: 35.98 kB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1673, allocations: 26.48 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.1692, allocations: 1.676 MB / 489.8 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1695, allocations: 0.7046 MB / 490.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.1696, allocations: 24.58 kB / 490.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.1697, allocations: 35.42 kB / 490.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1697, allocations: 0 / 490.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.185, allocations: 4.077 MB / 494.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/0.1853, allocations: 254.3 kB / 494.9 MB, free: 6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.182, allocations: 0 / 494.9 MB, free: 6 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches