Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001701/0.001701, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.7 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 82.09 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 62.44 MB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003171/0.1097, allocations: 1.734 MB / 481.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1113, allocations: 1.021 MB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1115, allocations: 0 / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.1118, allocations: 35.78 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.1121, allocations: 99.53 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.1124, allocations: 75.67 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1125, allocations: 103.7 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.1126, allocations: 19.98 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.941e-05/0.1127, allocations: 43.78 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.1128, allocations: 31.78 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1128, allocations: 4 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1129, allocations: 47.97 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.113, allocations: 15.94 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.1131, allocations: 31.8 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1133, allocations: 123.8 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1133, allocations: 3.938 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1133, allocations: 0 / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1133, allocations: 0 / 483.4 MB, free: 1.902 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.0004743/0.1138, allocations: 407 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1138, allocations: 12.03 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.1138, allocations: 16.75 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1141, allocations: 208.1 kB / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1141, allocations: 384 / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1141, allocations: 12.12 kB / 484 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1142, allocations: 53.61 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1143, allocations: 0 / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1143, allocations: 4 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1143, allocations: 0 / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.083e-05/0.1144, allocations: 19.98 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1147, allocations: 284.9 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1149, allocations: 62.61 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.115, allocations: 16.86 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.115, allocations: 4 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.1152, allocations: 71.38 kB / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1152, allocations: 0 / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005317/0.1157, allocations: 165.2 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1158, allocations: 55.34 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.116, allocations: 187.3 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.116, allocations: 25.7 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.1161, allocations: 108 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.1161, allocations: 23.91 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.1162, allocations: 29.7 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1163, allocations: 330.7 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.1164, allocations: 19.98 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.1164, allocations: 34.03 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1166, allocations: 61.7 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1166, allocations: 4 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.1168, allocations: 109.4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1168, allocations: 4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1168, allocations: 4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1168, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.1169, allocations: 12 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1169, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.117, allocations: 11.92 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.117, allocations: 4 kB / 485.7 MB, free: 15.35 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 9.723e-05/0.1171, allocations: 129.8 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1171, allocations: 7.906 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.1172, allocations: 17.39 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1172, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1172, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1172, allocations: 3.938 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1176, allocations: 395.2 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1176, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.1177, allocations: 11.98 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1177, allocations: 7.984 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1177, allocations: 3.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1177, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1177, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.118, allocations: 208.2 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.118, allocations: 85.02 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.118, allocations: 11.92 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.1181, allocations: 4 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.1182, allocations: 7.938 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1182, allocations: 7.984 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.1183, allocations: 136 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1183, allocations: 0 / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1186, allocations: 27.98 kB / 486.8 MB, free: 14.19 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.0009867/0.1196, allocations: 448.1 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.1198, allocations: 59.92 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.1198, allocations: 4.062 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.1199, allocations: 35.92 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1203, allocations: 31.34 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.1207, allocations: 235 kB / 487.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.121, allocations: 0.7041 MB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.478e-05/0.121, allocations: 13.19 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.1211, allocations: 15.44 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1211, allocations: 3.938 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.004445/0.1255, allocations: 1.72 MB / 490 MB, free: 11.06 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches