Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009439/0.0009438, allocations: 97.58 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 204.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1859/0.1859, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002507/0.0002506, allocations: 16 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.104, allocations: 63.56 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002131/0.1061, allocations: 1.442 MB / 485.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1078, allocations: 0.9928 MB / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.057e-05/0.1079, allocations: 4 kB / 486.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1082, allocations: 43.83 kB / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1084, allocations: 75.73 kB / 486.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1087, allocations: 63.88 kB / 486.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1089, allocations: 107.6 kB / 486.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.109, allocations: 12 kB / 486.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.1091, allocations: 43.77 kB / 486.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.1092, allocations: 31.8 kB / 486.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1092, allocations: 4 kB / 486.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1093, allocations: 39.98 kB / 486.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.1094, allocations: 23.91 kB / 486.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.1094, allocations: 65.38 kB / 486.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1096, allocations: 88.09 kB / 486.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1096, allocations: 4 kB / 486.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1096, allocations: 0 / 486.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.1096, allocations: 4 kB / 486.8 MB, free: 1.109 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.0004918/0.1101, allocations: 403 kB / 487.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1102, allocations: 8.875 kB / 487.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.1102, allocations: 12.84 kB / 487.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1105, allocations: 216 kB / 487.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1105, allocations: 384 / 487.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1105, allocations: 8.125 kB / 487.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1106, allocations: 61.61 kB / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1107, allocations: 0 / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1107, allocations: 0 / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1107, allocations: 0 / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/0.1108, allocations: 19.98 kB / 487.5 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.1111, allocations: 288.9 kB / 487.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1113, allocations: 58.62 kB / 487.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.1114, allocations: 24.84 kB / 487.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1114, allocations: 0 / 487.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.1116, allocations: 63.39 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1116, allocations: 0 / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005658/0.1122, allocations: 193 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1122, allocations: 51.41 kB / 488.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.1124, allocations: 202.9 kB / 488.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1124, allocations: 29.7 kB / 488.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.1125, allocations: 104.1 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1125, allocations: 27.69 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.1126, allocations: 13.72 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1127, allocations: 330.8 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.1128, allocations: 19.98 kB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.1128, allocations: 45.58 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.113, allocations: 53.72 kB / 489 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.113, allocations: 3.938 kB / 489 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.1132, allocations: 109.4 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1132, allocations: 4 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1132, allocations: 0 / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1132, allocations: 8.406 kB / 489.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.1133, allocations: 15.98 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1133, allocations: 0 / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.1134, allocations: 11.94 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1134, allocations: 0 / 489.1 MB, free: 14.54 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.489e-05/0.1135, allocations: 137.7 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.1135, allocations: 7.906 kB / 489.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.1136, allocations: 21.39 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1136, allocations: 4 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1136, allocations: 0 / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1136, allocations: 7.922 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.114, allocations: 391.3 kB / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.114, allocations: 4 kB / 489.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.1141, allocations: 8 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1141, allocations: 0 / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1141, allocations: 11.92 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1141, allocations: 4.031 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1141, allocations: 4 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1144, allocations: 200.4 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1144, allocations: 92.92 kB / 490 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1145, allocations: 7.922 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1145, allocations: 4 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1146, allocations: 8 kB / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1146, allocations: 11.98 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1147, allocations: 152.3 kB / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1147, allocations: 0 / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.115, allocations: 20 kB / 490.2 MB, free: 13.35 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.001005/0.116, allocations: 458.5 kB / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1162, allocations: 63.89 kB / 490.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1162, allocations: 4 kB / 490.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.744e-05/0.1163, allocations: 31.92 kB / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1166, allocations: 21.86 kB / 490.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.1171, allocations: 296 kB / 491 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1174, allocations: 0.7083 MB / 491.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.1174, allocations: 23.42 kB / 491.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1174, allocations: 0 / 491.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Templates: time 0.004069/0.1215, allocations: 1.945 MB / 493.7 MB, free: 9.914 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches