Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008456/0.0008457, allocations: 95.72 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009752/0.0009754, allocations: 203.8 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.7 MB / 247.5 MB, free: 9.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.18 MB / 345.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 12 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002173/0.1212, allocations: 1.446 MB / 485.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1228, allocations: 0.9863 MB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.1229, allocations: 0 / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1232, allocations: 55.81 kB / 486.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1235, allocations: 75.73 kB / 486.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.1237, allocations: 63.88 kB / 486.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1239, allocations: 103.6 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.124, allocations: 19.98 kB / 486.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.1241, allocations: 35.8 kB / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.1242, allocations: 35.78 kB / 486.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1242, allocations: 4 kB / 486.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-05/0.1243, allocations: 39.98 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.1244, allocations: 31.84 kB / 486.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/0.1244, allocations: 61.44 kB / 486.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1246, allocations: 95.97 kB / 486.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1246, allocations: 0 / 486.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1246, allocations: 4 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1246, allocations: 0 / 486.8 MB, free: 1.066 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.0005327/0.1252, allocations: 411 kB / 487.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1252, allocations: 12.88 kB / 487.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1253, allocations: 12.75 kB / 487.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1255, allocations: 216.8 kB / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1255, allocations: 8.312 kB / 487.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.1256, allocations: 4.125 kB / 487.4 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1257, allocations: 61.67 kB / 487.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1257, allocations: 0 / 487.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1258, allocations: 3.938 kB / 487.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1258, allocations: 3.984 kB / 487.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/0.1259, allocations: 19.98 kB / 487.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1263, allocations: 300.8 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1265, allocations: 62.62 kB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1265, allocations: 20.84 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1266, allocations: 0 / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1267, allocations: 63.39 kB / 488 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1267, allocations: 4 kB / 488 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005191/0.1273, allocations: 177.3 kB / 488.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1273, allocations: 55.41 kB / 488.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.1276, allocations: 238.2 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1276, allocations: 25.7 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.1277, allocations: 112.1 kB / 488.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.1277, allocations: 27.64 kB / 488.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.1277, allocations: 9.719 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1279, allocations: 330.8 kB / 488.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.1279, allocations: 27.92 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.128, allocations: 37.7 kB / 489 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1281, allocations: 53.72 kB / 489 MB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1281, allocations: 0 / 489 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1283, allocations: 113.4 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1284, allocations: 4 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1284, allocations: 0 / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1284, allocations: 4.219 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.1285, allocations: 19.98 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1285, allocations: 3.938 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.1285, allocations: 3.938 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1286, allocations: 4 kB / 489.2 MB, free: 14.43 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.0001167/0.1287, allocations: 136.4 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1287, allocations: 15.81 kB / 489.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.1288, allocations: 17.39 kB / 489.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1288, allocations: 8 kB / 489.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1288, allocations: 0 / 489.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1288, allocations: 3.938 kB / 489.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.1292, allocations: 399.3 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1292, allocations: 7.922 kB / 489.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.1293, allocations: 8 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1293, allocations: 0 / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1293, allocations: 3.938 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1293, allocations: 4.031 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1293, allocations: 4 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1296, allocations: 204.4 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1296, allocations: 92.91 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1296, allocations: 7.938 kB / 490.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.1297, allocations: 4 kB / 490.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1298, allocations: 11.98 kB / 490.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1298, allocations: 4 kB / 490.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1299, allocations: 176.4 kB / 490.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1299, allocations: 0 / 490.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1302, allocations: 24 kB / 490.3 MB, free: 13.21 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.001007/0.1312, allocations: 454.2 kB / 490.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1314, allocations: 63.91 kB / 490.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1314, allocations: 0 / 490.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.1315, allocations: 31.91 kB / 490.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1319, allocations: 34.48 kB / 490.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.1324, allocations: 320.4 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1327, allocations: 0.7199 MB / 491.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.1327, allocations: 15.44 kB / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1327, allocations: 0 / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.0036/0.1363, allocations: 1.997 MB / 493.9 MB, free: 9.699 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches