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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 117.3 kB / 17.98 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001287, allocations: 201.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.13 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 81.17 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1125, allocations: 62.46 MB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003394/0.1159, allocations: 1.801 MB / 482 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1177, allocations: 1.01 MB / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.1178, allocations: 0 / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.1182, allocations: 83.77 kB / 483.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.1185, allocations: 111.6 kB / 483.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.1187, allocations: 63.86 kB / 483.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1189, allocations: 123.6 kB / 483.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.119, allocations: 15.98 kB / 483.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.1191, allocations: 55.77 kB / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1192, allocations: 59.77 kB / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1193, allocations: 8 kB / 483.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1194, allocations: 59.97 kB / 483.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1195, allocations: 27.86 kB / 483.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.1195, allocations: 35.69 kB / 483.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1197, allocations: 112.1 kB / 483.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1197, allocations: 0 / 483.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1197, allocations: 0 / 483.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1198, allocations: 0 / 483.8 MB, free: 1.988 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.000623/0.1204, allocations: 434.9 kB / 484.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1204, allocations: 12.03 kB / 484.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.1205, allocations: 16.75 kB / 484.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1208, allocations: 216.5 kB / 484.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1208, allocations: 4.375 kB / 484.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1208, allocations: 8.125 kB / 484.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.121, allocations: 61.66 kB / 484.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.121, allocations: 0 / 484.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.121, allocations: 0 / 484.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1211, allocations: 0 / 484.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.1211, allocations: 23.98 kB / 484.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1216, allocations: 308.7 kB / 484.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.1218, allocations: 62.48 kB / 484.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.1219, allocations: 28.97 kB / 484.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1219, allocations: 0 / 484.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1222, allocations: 75.38 kB / 485 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1222, allocations: 0 / 485 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007711/0.1229, allocations: 248.9 kB / 485.3 MB, free: 356 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.123, allocations: 55.34 kB / 485.3 MB, free: 288 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1233, allocations: 224.3 kB / 485.5 MB, free: 52 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1233, allocations: 29.7 kB / 485.6 MB, free: 16 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/0.1234, allocations: 112.1 kB / 485.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.1234, allocations: 31.55 kB / 485.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1235, allocations: 25.72 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1236, allocations: 322.8 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.1237, allocations: 31.98 kB / 486.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.1238, allocations: 41.7 kB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.124, allocations: 85.64 kB / 486.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.124, allocations: 3.938 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002213/0.1242, allocations: 125.5 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1242, allocations: 8 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1242, allocations: 0 / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1243, allocations: 0 / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.1243, allocations: 31.92 kB / 486.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1244, allocations: 3.938 kB / 486.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.1244, allocations: 0 / 486.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1244, allocations: 8.031 kB / 486.4 MB, free: 15.16 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.0001365/0.1246, allocations: 136.4 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1246, allocations: 15.81 kB / 486.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.1247, allocations: 25.39 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1247, allocations: 0 / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1247, allocations: 7.938 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1247, allocations: 0 / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.1253, allocations: 459.9 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1253, allocations: 0 / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.1253, allocations: 19.94 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1254, allocations: 0 / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1254, allocations: 7.984 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1254, allocations: 0 / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1254, allocations: 0 / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.1257, allocations: 237.1 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.1258, allocations: 88.92 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1258, allocations: 7.984 kB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.1259, allocations: 4 kB / 487.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1259, allocations: 11.92 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1259, allocations: 8 kB / 487.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1261, allocations: 165.2 kB / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1261, allocations: 0 / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1264, allocations: 35.98 kB / 487.6 MB, free: 13.85 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.001867/0.1283, allocations: 0.4993 MB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.1285, allocations: 79.91 kB / 488.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1285, allocations: 0 / 488.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1286, allocations: 44.05 kB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.129, allocations: 38.91 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.1296, allocations: 338.3 kB / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.13, allocations: 0.7118 MB / 489.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.13, allocations: 27.42 kB / 489.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.13, allocations: 0 / 489.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.004562/0.1346, allocations: 2.242 MB / 491.5 MB, free: 10.01 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches