Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 115.7 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, 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.398/1.398, allocations: 227.4 MB / 246.4 MB, free: 9.113 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2407/0.2407, allocations: 46.11 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 76 kB / 417.2 MB, free: 19.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1355, allocations: 62.44 MB / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004672/0.1402, allocations: 1.824 MB / 481.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1423, allocations: 1.013 MB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.1426, allocations: 3.938 kB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.1432, allocations: 103.7 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.1438, allocations: 123.6 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.1443, allocations: 63.88 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.1446, allocations: 135.7 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.1448, allocations: 25.38 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.145, allocations: 67.7 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1452, allocations: 71.75 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.1453, allocations: 4 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1455, allocations: 63.95 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.1456, allocations: 27.92 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.489e-05/0.1457, allocations: 51.61 kB / 483.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.1461, allocations: 163.7 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1461, allocations: 0 / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.751e-06/0.1461, allocations: 0 / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.1461, allocations: 3.938 kB / 483.3 MB, free: 1.715 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009167/0.147, allocations: 458.7 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.1471, allocations: 8.031 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.1472, allocations: 38.73 kB / 483.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.365e-05/0.1473, allocations: 16.75 kB / 483.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.1477, allocations: 221 kB / 484.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1477, allocations: 8.312 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.1477, allocations: 15.92 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.148, allocations: 69.61 kB / 484.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.148, allocations: 7.984 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.148, allocations: 0 / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1481, allocations: 4 kB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1482, allocations: 35.97 kB / 484.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.1488, allocations: 328.6 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.1491, allocations: 86.45 kB / 484.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.1492, allocations: 28.86 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1492, allocations: 4 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.1495, allocations: 79.25 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.1496, allocations: 0 / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001074/0.1506, allocations: 316.5 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.1507, allocations: 55.41 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.151, allocations: 259.7 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1511, allocations: 25.7 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.1512, allocations: 116.1 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.1512, allocations: 43.36 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.1513, allocations: 33.7 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1515, allocations: 326.8 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.1516, allocations: 39.98 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1517, allocations: 64.36 kB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1519, allocations: 93.7 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1519, allocations: 4 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003188/0.1522, allocations: 161.4 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1523, allocations: 4 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.1523, allocations: 112 / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.1523, allocations: 11.91 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1524, allocations: 32.77 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1525, allocations: 0 / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1525, allocations: 8 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1525, allocations: 4 kB / 486.3 MB, free: 14.53 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 (16): * Single equations (assignments): 16 * 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.0001802/0.1527, allocations: 145.8 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.1528, allocations: 15.81 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.1529, allocations: 21.52 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.1529, allocations: 3.938 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.1529, allocations: 8 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1529, allocations: 3.938 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007043/0.1536, allocations: 0.5 MB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1536, allocations: 0 / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.1537, allocations: 16 kB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1537, allocations: 4.062 kB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1537, allocations: 11.98 kB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.1537, allocations: 7.938 kB / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1538, allocations: 0 / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.1541, allocations: 260.9 kB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.1542, allocations: 88.92 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.1542, allocations: 4 kB / 487.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.261e-05/0.1543, allocations: 11.98 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.1544, allocations: 8 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1544, allocations: 11.98 kB / 487.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.1546, allocations: 197.5 kB / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1546, allocations: 0 / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1549, allocations: 32 kB / 487.6 MB, free: 13.08 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 (14): * Single equations (assignments): 12 * 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.001805/0.1568, allocations: 1.196 MB / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.1571, allocations: 115.8 kB / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1571, allocations: 0 / 488.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1572, allocations: 55.98 kB / 489 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1576, allocations: 35.19 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.1602, allocations: 2.024 MB / 491 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1606, allocations: 0.7318 MB / 491.8 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.135e-05/0.1607, allocations: 25.41 kB / 491.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.1608, allocations: 55.41 kB / 491.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1608, allocations: 0 / 491.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03543/0.1962, allocations: 4.158 MB / 496 MB, free: 4.832 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.1965, allocations: 234.1 kB / 496.2 MB, free: 4.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.504, allocations: 0 / 496.2 MB, free: 4.582 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d_t_new2.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.timeScaled)),der(t_new.timeScaled),t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time