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.001565/0.001565, allocations: 103 kB / 17.32 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002134/0.002134, allocations: 209.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.1 MB / 343.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.89 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1283, allocations: 62.45 MB / 479.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00412/0.1325, allocations: 2.326 MB / 481.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.135, allocations: 1.295 MB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1351, allocations: 7.938 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.1356, allocations: 111.5 kB / 483.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.1362, allocations: 211.2 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.1367, allocations: 167.7 kB / 483.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.1371, allocations: 454.7 kB / 484 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1373, allocations: 65.06 kB / 484.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.1376, allocations: 271 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1378, allocations: 163.1 kB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.1379, allocations: 16 kB / 484.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.138, allocations: 71.98 kB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1382, allocations: 139.4 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1383, allocations: 186.5 kB / 484.9 MB, free: 108 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.1388, allocations: 434.5 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1388, allocations: 0 / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1388, allocations: 0 / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1388, allocations: 0 / 485.4 MB, free: 15.68 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.001055/0.1398, allocations: 0.8191 MB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1399, allocations: 9.109 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.14, allocations: 68.08 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.1405, allocations: 416.5 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1406, allocations: 8.375 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.1406, allocations: 28.02 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.141, allocations: 185.5 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.141, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1411, allocations: 3.984 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1411, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.1413, allocations: 103.9 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009193/0.1422, allocations: 0.7976 MB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.1429, allocations: 246.4 kB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.1431, allocations: 91.53 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.1431, allocations: 8 kB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004302/0.1435, allocations: 206.2 kB / 488.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.305e-06/0.1436, allocations: 3.938 kB / 488.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002605/0.1462, allocations: 1.122 MB / 489.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.1462, allocations: 136.5 kB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008265/0.1471, allocations: 0.7931 MB / 490.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.1471, allocations: 37.7 kB / 490.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.1473, allocations: 240.9 kB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.1474, allocations: 142.1 kB / 490.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.1476, allocations: 86.03 kB / 490.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1477, allocations: 374.8 kB / 491.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.148, allocations: 116.8 kB / 491.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1483, allocations: 183.2 kB / 491.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.1488, allocations: 319 kB / 491.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1488, allocations: 4 kB / 491.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007179/0.1496, allocations: 440.5 kB / 492.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.1496, allocations: 4 kB / 492.3 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.1496, allocations: 4 kB / 492.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.1496, allocations: 4 kB / 492.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.1499, allocations: 87.89 kB / 492.4 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1499, allocations: 4 kB / 492.4 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1501, allocations: 19.92 kB / 492.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.1501, allocations: 20.36 kB / 492.4 MB, free: 8.242 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.0002655/0.1504, allocations: 231.9 kB / 492.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.1505, allocations: 67.16 kB / 492.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.1507, allocations: 84.89 kB / 492.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1507, allocations: 4 kB / 492.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1507, allocations: 4 kB / 492.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.1507, allocations: 3.938 kB / 492.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.1524, allocations: 1.318 MB / 494.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1524, allocations: 4 kB / 494.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1525, allocations: 63.86 kB / 494.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.1525, allocations: 7.984 kB / 494.2 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.1526, allocations: 12 kB / 494.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1526, allocations: 4 kB / 494.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1526, allocations: 4 kB / 494.2 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.1534, allocations: 0.7853 MB / 495 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.1536, allocations: 172.3 kB / 495.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/0.1537, allocations: 12 kB / 495.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.154, allocations: 19.98 kB / 495.2 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.1541, allocations: 43.83 kB / 495.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.1541, allocations: 27.98 kB / 495.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005923/0.1547, allocations: 0.5771 MB / 495.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1547, allocations: 0 / 495.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005155/0.1552, allocations: 87.98 kB / 495.9 MB, free: 4.566 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.001227/0.1565, allocations: 0.5181 MB / 496.5 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.1571, allocations: 328.3 kB / 496.8 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1571, allocations: 0 / 496.8 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.1575, allocations: 167.7 kB / 496.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009213/0.1584, allocations: 133.8 kB / 497.1 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.16, allocations: 1.235 MB / 498.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.1605, allocations: 0.8821 MB / 499.2 MB, free: 1.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.1607, allocations: 75.3 kB / 499.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1608, allocations: 63.36 kB / 499.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1608, allocations: 0 / 499.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of Templates: time 0.01042/0.1713, allocations: 5.322 MB / 0.4928 GB, free: 12.01 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