Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008774/0.0008773, allocations: 94.62 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009547/0.0009548, allocations: 201 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002371, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1198, allocations: 63.57 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001929/0.1218, allocations: 1.403 MB / 484.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1233, allocations: 0.9707 MB / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1234, allocations: 0 / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1237, allocations: 51.86 kB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.124, allocations: 99.66 kB / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.1242, allocations: 51.89 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1243, allocations: 103.7 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.1244, allocations: 4.234 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.1245, allocations: 43.73 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.1246, allocations: 35.83 kB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1246, allocations: 0 / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.643e-05/0.1247, allocations: 28 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.1248, allocations: 27.84 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.154e-05/0.1248, allocations: 73.27 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.125, allocations: 119.8 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.125, allocations: 4 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.125, allocations: 0 / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.125, allocations: 0 / 486.1 MB, free: 1.098 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004697/0.1255, allocations: 415 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1256, allocations: 8.875 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.1256, allocations: 16.75 kB / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1258, allocations: 216.9 kB / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1259, allocations: 4.375 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1259, allocations: 4.125 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.126, allocations: 57.61 kB / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.126, allocations: 0 / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.1261, allocations: 0 / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1261, allocations: 0 / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.057e-05/0.1261, allocations: 15.98 kB / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.1263, allocations: 189.7 kB / 487 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1265, allocations: 54.62 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.1266, allocations: 24.78 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1266, allocations: 3.938 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.1268, allocations: 71.31 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1268, allocations: 0 / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002783/0.1271, allocations: 101.5 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1271, allocations: 55.41 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1274, allocations: 271 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1274, allocations: 33.64 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.1275, allocations: 112.1 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1275, allocations: 7.812 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.1275, allocations: 17.72 kB / 487.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1277, allocations: 326.8 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.1277, allocations: 19.98 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.1278, allocations: 25.7 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1279, allocations: 41.72 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1279, allocations: 0 / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.1281, allocations: 93.36 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1281, allocations: 4 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1281, allocations: 4.031 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1281, allocations: 0 / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.1282, allocations: 12 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1282, allocations: 0 / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.1283, allocations: 11.92 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1283, allocations: 4 kB / 488.3 MB, free: 14.68 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 (7): * Single equations (assignments): 7 * 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.000124/0.1284, allocations: 145.6 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1285, allocations: 15.81 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.1285, allocations: 13 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1285, allocations: 8 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1285, allocations: 0 / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1285, allocations: 3.984 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.1287, allocations: 197.6 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1287, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.1288, allocations: 4 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1288, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1288, allocations: 4 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1288, allocations: 160 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1288, allocations: 0 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.129, allocations: 121.1 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.1291, allocations: 96.84 kB / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1291, allocations: 12.06 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.1291, allocations: 0 / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.1292, allocations: 4 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1292, allocations: 3.984 kB / 488.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1294, allocations: 204.4 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1294, allocations: 4 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1296, allocations: 20 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001037/0.1307, allocations: 403.9 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1309, allocations: 47.91 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1309, allocations: 0 / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.131, allocations: 16.12 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1313, allocations: 32.03 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.1318, allocations: 293.8 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1321, allocations: 0.72 MB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.1322, allocations: 12.55 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.1322, allocations: 11.44 kB / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1322, allocations: 4 kB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004246/0.1365, allocations: 1.448 MB / 492.1 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches