Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, 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.001244/0.001244, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.1 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 72.81 kB / 418.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1031, allocations: 62.45 MB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003382/0.1065, allocations: 1.821 MB / 482.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.109, allocations: 1.705 MB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1091, allocations: 0 / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.1094, allocations: 51.7 kB / 484.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.1099, allocations: 135.3 kB / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1102, allocations: 111.6 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.1105, allocations: 191.5 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.523e-05/0.1106, allocations: 21.66 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.1107, allocations: 79.66 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.111, allocations: 91.53 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.111, allocations: 8 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.1113, allocations: 115.9 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.1113, allocations: 31.84 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.1114, allocations: 67.59 kB / 485.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.1118, allocations: 219.6 kB / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1118, allocations: 4 kB / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1118, allocations: 0 / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1118, allocations: 0 / 485.3 MB, free: 0.6484 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.0007136/0.1126, allocations: 494.6 kB / 485.8 MB, free: 120 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1126, allocations: 12.03 kB / 485.8 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.1127, allocations: 20.66 kB / 485.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.113, allocations: 260.8 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.113, allocations: 384 / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1131, allocations: 12.06 kB / 486.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.1133, allocations: 101.1 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1133, allocations: 0 / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1133, allocations: 0 / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1133, allocations: 0 / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1134, allocations: 35.91 kB / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.1137, allocations: 226.5 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.114, allocations: 101.2 kB / 486.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.253e-05/0.1141, allocations: 41.64 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1141, allocations: 8 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.1144, allocations: 101.1 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1144, allocations: 4 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004541/0.1149, allocations: 161.4 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.115, allocations: 144.4 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.1152, allocations: 233.6 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1153, allocations: 29.7 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.1153, allocations: 116.1 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.1154, allocations: 31.64 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.1154, allocations: 29.7 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1156, allocations: 326.8 kB / 487.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.1157, allocations: 31.97 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1158, allocations: 69.14 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.116, allocations: 91.86 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.116, allocations: 0 / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002727/0.1163, allocations: 149.2 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1163, allocations: 4 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1163, allocations: 4 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1163, allocations: 0 / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1164, allocations: 27.92 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1164, allocations: 0 / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.1165, allocations: 8 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1166, allocations: 4 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001091/0.1167, allocations: 137.8 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.1167, allocations: 23.7 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.1168, allocations: 20.98 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1168, allocations: 0 / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1168, allocations: 3.938 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1168, allocations: 7.938 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.117, allocations: 225.5 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.117, allocations: 3.984 kB / 488.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.117, allocations: 8 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1171, allocations: 4 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1171, allocations: 4 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1171, allocations: 0 / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1171, allocations: 0 / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.1174, allocations: 177.6 kB / 488.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.1175, allocations: 88.92 kB / 488.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.1175, allocations: 4.125 kB / 488.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.1176, allocations: 15.98 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1176, allocations: 4 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1177, allocations: 11.98 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.1178, allocations: 176.5 kB / 489 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1178, allocations: 0 / 489 MB, free: 12.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1181, allocations: 55.98 kB / 489.1 MB, free: 12.47 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001118/0.1193, allocations: 0.4886 MB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1195, allocations: 87.91 kB / 489.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1195, allocations: 0 / 489.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1197, allocations: 39.92 kB / 489.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.12, allocations: 65.62 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.1206, allocations: 321.8 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1209, allocations: 0.7242 MB / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.121, allocations: 27.42 kB / 490.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.121, allocations: 0 / 490.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of Templates: time 0.00553/0.1265, allocations: 3.158 MB / 494 MB, free: 7.688 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches