Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.4 MB, free: 9.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.11 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 81.06 kB / 417.2 MB, free: 19.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1381, allocations: 62.44 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.004315/0.1424, allocations: 1.805 MB / 481.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1444, allocations: 1.013 MB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.1446, allocations: 4 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.1451, allocations: 83.77 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.1455, allocations: 103.7 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1458, allocations: 59.88 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1461, allocations: 131.6 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1462, allocations: 16 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1464, allocations: 55.72 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.1465, allocations: 59.81 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1466, allocations: 8 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1467, allocations: 51.97 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/0.1468, allocations: 31.86 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.1469, allocations: 39.67 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.1473, allocations: 139.8 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1473, allocations: 0 / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1473, allocations: 0 / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1473, allocations: 0 / 483.2 MB, free: 1.871 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.0007661/0.1481, allocations: 434.9 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.1481, allocations: 8.031 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.1482, allocations: 38.73 kB / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.1483, allocations: 12.75 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1486, allocations: 224.5 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1486, allocations: 384 / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.1486, allocations: 7.938 kB / 483.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1488, allocations: 65.59 kB / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1488, allocations: 12 kB / 484 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1489, allocations: 0 / 484 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1489, allocations: 0 / 484 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.149, allocations: 23.97 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.1494, allocations: 304.7 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1497, allocations: 58.56 kB / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.1498, allocations: 24.97 kB / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1498, allocations: 4 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.15, allocations: 67.38 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.15, allocations: 3.938 kB / 484.5 MB, free: 444 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008755/0.1509, allocations: 241.1 kB / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.151, allocations: 59.34 kB / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1512, allocations: 220.3 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1513, allocations: 33.64 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.1514, allocations: 108.1 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.1514, allocations: 39.55 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.1515, allocations: 21.72 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1516, allocations: 326.8 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.1517, allocations: 23.98 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.1518, allocations: 53.69 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1519, allocations: 81.59 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1519, allocations: 0 / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002424/0.1522, allocations: 129.5 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1522, allocations: 4 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1522, allocations: 4 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1523, allocations: 0 / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.1523, allocations: 31.89 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1524, allocations: 0 / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.1524, allocations: 8 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1524, allocations: 4 kB / 485.8 MB, free: 15 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.0001758/0.1526, allocations: 133.8 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.1526, allocations: 11.81 kB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.1527, allocations: 21.39 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1527, allocations: 15.86 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1527, allocations: 4 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1527, allocations: 0 / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.1533, allocations: 455.9 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1533, allocations: 0 / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.1534, allocations: 19.94 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1534, allocations: 4 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1534, allocations: 3.984 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1534, allocations: 8.062 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1534, allocations: 0 / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.1537, allocations: 229 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.1538, allocations: 92.91 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.1538, allocations: 4 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.1539, allocations: 8 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.154, allocations: 12.08 kB / 486.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.154, allocations: 7.938 kB / 486.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1542, allocations: 169.1 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1542, allocations: 0 / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1545, allocations: 31.98 kB / 487 MB, free: 13.68 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.00178/0.1562, allocations: 1.165 MB / 488.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1565, allocations: 79.91 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1565, allocations: 4 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1566, allocations: 40.11 kB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.157, allocations: 34.92 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.1591, allocations: 1.838 MB / 490.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1595, allocations: 0.7119 MB / 490.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.842e-05/0.1596, allocations: 24.62 kB / 490.9 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.1597, allocations: 43.42 kB / 491 MB, free: 9.785 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1597, allocations: 0 / 491 MB, free: 9.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.1826, allocations: 3.71 MB / 494.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.1829, allocations: 238.3 kB / 494.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.505, allocations: 4 kB / 494.9 MB, free: 5.914 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.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,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.timeScaled)),der(t_new.timeScaled),t_new.columns[1],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[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time