Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001453, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2577/0.2577, allocations: 46.09 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 76.12 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1325, allocations: 62.45 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003878/0.1364, allocations: 2.319 MB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.139, allocations: 1.314 MB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.1392, allocations: 3.938 kB / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.1397, allocations: 107.6 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005832/0.1403, allocations: 211.2 kB / 483.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.1408, allocations: 159.7 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.1413, allocations: 434.7 kB / 483.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1415, allocations: 65.06 kB / 483.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.1418, allocations: 255 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.142, allocations: 159.1 kB / 484.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.142, allocations: 8 kB / 484.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.1422, allocations: 67.97 kB / 484.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.1424, allocations: 127.4 kB / 484.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.1425, allocations: 174.5 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.143, allocations: 426.6 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.143, allocations: 4 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.143, allocations: 0 / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.143, allocations: 0 / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001098/0.1441, allocations: 0.8168 MB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1442, allocations: 9.953 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1443, allocations: 64.09 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.1448, allocations: 412.5 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1449, allocations: 16.38 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.1449, allocations: 20.03 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.1453, allocations: 201.4 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1453, allocations: 4 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.1454, allocations: 7.938 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1454, allocations: 4 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.1456, allocations: 95.86 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.1465, allocations: 0.7936 MB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.1471, allocations: 254.5 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.1474, allocations: 91.52 kB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.1474, allocations: 12.22 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.1479, allocations: 202.2 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.1479, allocations: 0 / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002656/0.1506, allocations: 1.121 MB / 489.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.1507, allocations: 132.5 kB / 489.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.1516, allocations: 0.797 MB / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.1516, allocations: 37.7 kB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.1519, allocations: 244.9 kB / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.152, allocations: 138.1 kB / 490.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1521, allocations: 78.03 kB / 490.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.1524, allocations: 378.8 kB / 491 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1526, allocations: 116.8 kB / 491.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.1529, allocations: 183.1 kB / 491.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.1534, allocations: 314.8 kB / 491.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1535, allocations: 0 / 491.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007884/0.1543, allocations: 440.6 kB / 492 MB, free: 8.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1543, allocations: 8 kB / 492 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1543, allocations: 0 / 492 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1543, allocations: 7.984 kB / 492 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.1546, allocations: 91.83 kB / 492.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1546, allocations: 4 kB / 492.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1548, allocations: 23.88 kB / 492.1 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.1548, allocations: 19.98 kB / 492.2 MB, free: 8.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002533/0.1551, allocations: 228 kB / 492.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.04e-05/0.1552, allocations: 67.16 kB / 492.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.1553, allocations: 80.92 kB / 492.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1553, allocations: 4 kB / 492.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1554, allocations: 3.938 kB / 492.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.1554, allocations: 11.92 kB / 492.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.1571, allocations: 1.311 MB / 493.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.1571, allocations: 4 kB / 493.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1573, allocations: 55.92 kB / 493.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1573, allocations: 4 kB / 493.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.1573, allocations: 15.98 kB / 493.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1573, allocations: 4.938 kB / 493.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1574, allocations: 7.938 kB / 493.9 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/0.1583, allocations: 0.7852 MB / 494.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.1585, allocations: 172.3 kB / 494.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.1586, allocations: 12 kB / 494.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.1589, allocations: 19.98 kB / 494.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.159, allocations: 43.83 kB / 495 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.159, allocations: 27.98 kB / 495 MB, free: 5.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005848/0.1596, allocations: 0.5811 MB / 495.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1596, allocations: 0 / 495.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004988/0.1601, allocations: 91.98 kB / 495.7 MB, free: 4.809 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00125/0.1614, allocations: 0.5227 MB / 496.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000621/0.162, allocations: 311.6 kB / 496.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.162, allocations: 0 / 496.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.1623, allocations: 163.7 kB / 496.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.1633, allocations: 119.6 kB / 496.8 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.165, allocations: 1.232 MB / 498 MB, free: 2.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.1655, allocations: 0.8814 MB / 498.9 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.1657, allocations: 87.28 kB / 499 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1658, allocations: 51.42 kB / 499 MB, free: 1.547 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1658, allocations: 0 / 499 MB, free: 1.547 MB / 366.1 MB Notification: Performance of Templates: time 0.01076/0.1766, allocations: 5.13 MB / 0.4923 GB, free: 12.46 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches