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.001238/0.001238, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.5 MB, free: 10.32 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.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 79.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1127, allocations: 62.46 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002925/0.1157, allocations: 1.68 MB / 483.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1172, allocations: 1.005 MB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.1174, allocations: 0 / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.1177, allocations: 51.77 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.1181, allocations: 103.6 kB / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1183, allocations: 71.67 kB / 484.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.1185, allocations: 99.69 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.1186, allocations: 8.234 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.1187, allocations: 47.77 kB / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.1188, allocations: 23.86 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1188, allocations: 7.938 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.1189, allocations: 31.94 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.119, allocations: 31.89 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.119, allocations: 35.69 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1192, allocations: 123.6 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1192, allocations: 0 / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1192, allocations: 0 / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1192, allocations: 4 kB / 484.8 MB, free: 1.168 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.0005085/0.1198, allocations: 430.8 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1198, allocations: 16.02 kB / 485.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1198, allocations: 12.75 kB / 485.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1201, allocations: 228.8 kB / 485.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1201, allocations: 384 / 485.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1202, allocations: 12.06 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1203, allocations: 49.67 kB / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1203, allocations: 0 / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1203, allocations: 7.984 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1203, allocations: 0 / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.821e-05/0.1204, allocations: 8 kB / 485.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.1206, allocations: 193.7 kB / 485.7 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1207, allocations: 58.55 kB / 485.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.1208, allocations: 17.06 kB / 485.8 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1209, allocations: 11.94 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.121, allocations: 63.39 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.121, allocations: 3.938 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000264/0.1213, allocations: 105.4 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1213, allocations: 55.41 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1216, allocations: 263 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1216, allocations: 33.7 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.1217, allocations: 112.1 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.1217, allocations: 7.906 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.1217, allocations: 21.7 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.1218, allocations: 326.8 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.1219, allocations: 15.98 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-05/0.122, allocations: 29.7 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/0.1221, allocations: 49.64 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1221, allocations: 0 / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001428/0.1222, allocations: 89.44 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1222, allocations: 4 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1222, allocations: 0 / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1223, allocations: 4 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.1223, allocations: 15.92 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1223, allocations: 0 / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.1224, allocations: 15.88 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1224, allocations: 0 / 487 MB, free: 14.71 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 9.509e-05/0.1225, allocations: 136.5 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1225, allocations: 15.84 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.1226, allocations: 16.98 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1226, allocations: 4 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1226, allocations: 3.938 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1226, allocations: 0 / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1227, allocations: 205.8 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1228, allocations: 4 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.1228, allocations: 8 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1228, allocations: 3.984 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1228, allocations: 4 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.1228, allocations: 0 / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1228, allocations: 0 / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.123, allocations: 108.9 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.123, allocations: 88.92 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.1231, allocations: 12 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.1231, allocations: 0 / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1231, allocations: 7.984 kB / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1232, allocations: 0 / 487.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.1233, allocations: 204.4 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1233, allocations: 0 / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1235, allocations: 23.92 kB / 487.8 MB, free: 13.79 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.0008967/0.1244, allocations: 400.5 kB / 488.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1246, allocations: 47.92 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1246, allocations: 0 / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.1247, allocations: 16 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.125, allocations: 39.41 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.1255, allocations: 266.4 kB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1258, allocations: 0.7244 MB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.533e-05/0.1258, allocations: 8.562 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.1259, allocations: 15.42 kB / 489.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1259, allocations: 0 / 489.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of Templates: time 0.004046/0.1299, allocations: 1.525 MB / 490.9 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches