Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001572/0.001572, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.13 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 84.83 kB / 418.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1182, allocations: 62.45 MB / 480.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003687/0.1219, allocations: 1.724 MB / 482.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1237, allocations: 1.025 MB / 483.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.1238, allocations: 0 / 483.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1241, allocations: 39.77 kB / 483.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1244, allocations: 103.5 kB / 483.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1247, allocations: 75.67 kB / 483.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1249, allocations: 107.7 kB / 483.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.125, allocations: 12 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.779e-05/0.1251, allocations: 39.8 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.1252, allocations: 35.78 kB / 483.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1252, allocations: 4 kB / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1253, allocations: 43.98 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.1254, allocations: 15.92 kB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.1254, allocations: 43.72 kB / 484 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1257, allocations: 123.8 kB / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1257, allocations: 0 / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1257, allocations: 0 / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1257, allocations: 0 / 484.2 MB, free: 1.801 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005927/0.1263, allocations: 414.9 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1263, allocations: 8.031 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.1264, allocations: 12.84 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1266, allocations: 208.8 kB / 484.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1267, allocations: 384 / 484.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1267, allocations: 8.125 kB / 484.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1269, allocations: 61.55 kB / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1269, allocations: 0 / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1269, allocations: 0 / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1269, allocations: 4 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.127, allocations: 15.98 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.1274, allocations: 296.8 kB / 485.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1276, allocations: 62.61 kB / 485.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.1277, allocations: 16.86 kB / 485.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1277, allocations: 3.984 kB / 485.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.1279, allocations: 67.39 kB / 485.3 MB, free: 492 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.128, allocations: 7.938 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005535/0.1285, allocations: 169.5 kB / 485.5 MB, free: 308 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.1286, allocations: 55.39 kB / 485.5 MB, free: 240 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.1288, allocations: 194.4 kB / 485.7 MB, free: 36 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1288, allocations: 29.7 kB / 485.8 MB, free: 0 / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.187e-05/0.1289, allocations: 100.1 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1289, allocations: 27.7 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.129, allocations: 21.72 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1292, allocations: 326.8 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.037e-05/0.1292, allocations: 19.98 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.1293, allocations: 41.77 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1294, allocations: 65.77 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1294, allocations: 4 kB / 486.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.1296, allocations: 105.4 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1297, allocations: 4 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1297, allocations: 0 / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1297, allocations: 4 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.1298, allocations: 15.98 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1298, allocations: 0 / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.1299, allocations: 11.94 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1299, allocations: 0 / 486.5 MB, free: 15.23 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 (10): * Single equations (assignments): 10 * 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.0001214/0.13, allocations: 137.8 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.13, allocations: 7.906 kB / 486.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1301, allocations: 17.41 kB / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1301, allocations: 7.984 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1301, allocations: 0 / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1301, allocations: 7.875 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.1306, allocations: 395.2 kB / 487 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1306, allocations: 4.031 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.1306, allocations: 8 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1307, allocations: 3.984 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1307, allocations: 3.938 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.1307, allocations: 4 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1307, allocations: 0 / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.1309, allocations: 204.2 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.641e-05/0.131, allocations: 88.92 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.1311, allocations: 4.125 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.1311, allocations: 7.984 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1312, allocations: 7.938 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1312, allocations: 4 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1313, allocations: 148.2 kB / 487.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1314, allocations: 0 / 487.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1316, allocations: 31.98 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001769/0.1334, allocations: 460.5 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1336, allocations: 63.91 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1336, allocations: 4.062 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.1337, allocations: 31.91 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1341, allocations: 35.72 kB / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.1347, allocations: 256.7 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.135, allocations: 0.708 MB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.1351, allocations: 15.44 kB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1351, allocations: 0 / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Templates: time 0.004319/0.1394, allocations: 1.955 MB / 491.1 MB, free: 10.64 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches