Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008841/0.0008841, allocations: 95.41 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001008, allocations: 205.9 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 46.19 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.0002379, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.101, allocations: 63.56 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002203/0.1033, allocations: 1.65 MB / 485.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.105, allocations: 1.025 MB / 486.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1051, allocations: 3.938 kB / 486.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1054, allocations: 39.83 kB / 486.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.1057, allocations: 79.69 kB / 486.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1059, allocations: 79.86 kB / 486.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1062, allocations: 139.5 kB / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1063, allocations: 21.56 kB / 486.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1064, allocations: 47.72 kB / 486.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.1065, allocations: 55.7 kB / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1065, allocations: 0 / 486.9 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1066, allocations: 47.92 kB / 486.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1067, allocations: 23.86 kB / 486.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.436e-05/0.1068, allocations: 73.36 kB / 487 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1069, allocations: 108 kB / 487.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.107, allocations: 4 kB / 487.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.107, allocations: 0 / 487.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.107, allocations: 0 / 487.1 MB, free: 0.7422 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005865/0.1076, allocations: 460.6 kB / 487.6 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1076, allocations: 12.88 kB / 487.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.1077, allocations: 16.84 kB / 487.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.108, allocations: 229.3 kB / 487.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.108, allocations: 8.375 kB / 487.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.108, allocations: 8.125 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.1083, allocations: 118.8 kB / 488 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1083, allocations: 0 / 488 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1083, allocations: 0 / 488 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1083, allocations: 4 kB / 488 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1085, allocations: 51.91 kB / 488 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.1091, allocations: 0.5164 MB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.1094, allocations: 86.67 kB / 488.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1095, allocations: 52.69 kB / 488.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1095, allocations: 4 kB / 488.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1098, allocations: 87.36 kB / 488.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1098, allocations: 0 / 488.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003966/0.1102, allocations: 149.5 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.1102, allocations: 55.34 kB / 489 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1104, allocations: 202.4 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1104, allocations: 29.69 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.1105, allocations: 116 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1106, allocations: 23.66 kB / 489.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1106, allocations: 25.7 kB / 489.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1107, allocations: 326.8 kB / 489.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/0.1108, allocations: 24.11 kB / 489.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1109, allocations: 76.2 kB / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.1111, allocations: 100.2 kB / 489.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1111, allocations: 384 / 489.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002847/0.1114, allocations: 145.3 kB / 490 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1115, allocations: 11.98 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1115, allocations: 0 / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1115, allocations: 4 kB / 490 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1116, allocations: 27.86 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1116, allocations: 4 kB / 490 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.1117, allocations: 23.97 kB / 490.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.1117, allocations: 4 kB / 490.1 MB, free: 13.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001081/0.1118, allocations: 128.2 kB / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.1119, allocations: 15.81 kB / 490.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.1119, allocations: 13.41 kB / 490.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1119, allocations: 3.938 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1119, allocations: 0 / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1119, allocations: 0 / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.1121, allocations: 213.6 kB / 490.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1121, allocations: 7.938 kB / 490.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.1122, allocations: 8 kB / 490.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1122, allocations: 0 / 490.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1122, allocations: 8 kB / 490.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.1122, allocations: 7.922 kB / 490.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1123, allocations: 3.938 kB / 490.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.1126, allocations: 188.9 kB / 490.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.1127, allocations: 92.86 kB / 490.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.1127, allocations: 11.98 kB / 490.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.1128, allocations: 7.938 kB / 490.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1128, allocations: 7.984 kB / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1129, allocations: 4 kB / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.113, allocations: 144.4 kB / 490.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.113, allocations: 4.062 kB / 490.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1132, allocations: 24.19 kB / 490.9 MB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.000898/0.1141, allocations: 403 kB / 491.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.1144, allocations: 83.83 kB / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1144, allocations: 256 / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1145, allocations: 43.92 kB / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1148, allocations: 35.97 kB / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.1154, allocations: 334 kB / 491.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1156, allocations: 0.7165 MB / 492.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.1157, allocations: 23.44 kB / 492.6 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1157, allocations: 4 kB / 492.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of Templates: time 0.004129/0.1198, allocations: 2.177 MB / 494.7 MB, free: 8.816 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches