Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 112.7 kB / 16.64 MB, free: 6.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 186.5 kB / 17.56 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1963/0.1963, allocations: 43.52 MB / 314.3 MB, free: 0.6875 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 66.58 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1091, allocations: 57.79 MB / 440.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002319/0.1115, allocations: 1.761 MB / 442.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1128, allocations: 1.372 MB / 443.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.1129, allocations: 3.938 kB / 443.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1131, allocations: 35.89 kB / 443.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1133, allocations: 43.83 kB / 443.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1135, allocations: 75.84 kB / 444 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1136, allocations: 99.69 kB / 444.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.665e-05/0.1137, allocations: 8.516 kB / 444.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.1138, allocations: 47.72 kB / 444.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1139, allocations: 39.84 kB / 444.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1139, allocations: 4 kB / 444.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.114, allocations: 59.97 kB / 444.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.1141, allocations: 19.91 kB / 444.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.1141, allocations: 27.81 kB / 444.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.1142, allocations: 95.75 kB / 444.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1142, allocations: 0 / 444.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1142, allocations: 4 kB / 444.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1143, allocations: 4 kB / 444.4 MB, free: 3.605 MB / 318.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.0003548/0.1146, allocations: 412.3 kB / 444.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.1147, allocations: 15.89 kB / 444.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.1147, allocations: 8.844 kB / 444.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1148, allocations: 192.2 kB / 445 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1149, allocations: 384 / 445 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1149, allocations: 12.12 kB / 445 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.115, allocations: 75.33 kB / 445.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.115, allocations: 3.906 kB / 445.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1151, allocations: 3.984 kB / 445.1 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1151, allocations: 0 / 445.1 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.337e-05/0.1151, allocations: 19.98 kB / 445.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.1154, allocations: 288.8 kB / 445.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.1155, allocations: 62.61 kB / 445.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.1156, allocations: 24.84 kB / 445.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1156, allocations: 0 / 445.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.1158, allocations: 63.39 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1158, allocations: 0 / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004376/0.1162, allocations: 169.6 kB / 445.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.1163, allocations: 81.11 kB / 445.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1164, allocations: 148.9 kB / 445.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1164, allocations: 37.64 kB / 445.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.1164, allocations: 100.1 kB / 446 MB, free: 1.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1164, allocations: 23.66 kB / 446.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1165, allocations: 21.7 kB / 446.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.429e-05/0.1165, allocations: 326.8 kB / 446.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.1166, allocations: 24 kB / 446.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.102e-05/0.1166, allocations: 42.5 kB / 446.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.158e-05/0.1167, allocations: 65.77 kB / 446.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1167, allocations: 0 / 446.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001453/0.1169, allocations: 101.5 kB / 446.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1169, allocations: 4 kB / 446.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1169, allocations: 8.062 kB / 446.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1169, allocations: 0 / 446.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.117, allocations: 12 kB / 446.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.117, allocations: 0 / 446.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1171, allocations: 19.83 kB / 446.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1171, allocations: 4 kB / 446.7 MB, free: 1.035 MB / 318.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 6.025e-05/0.1172, allocations: 121.7 kB / 446.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.1172, allocations: 7.906 kB / 446.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.1172, allocations: 20.7 kB / 446.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1172, allocations: 4 kB / 446.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1172, allocations: 0 / 446.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1173, allocations: 3.938 kB / 446.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.1176, allocations: 391.5 kB / 447.2 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1176, allocations: 0 / 447.2 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.1176, allocations: 8 kB / 447.2 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1176, allocations: 0 / 447.2 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1176, allocations: 15.95 kB / 447.2 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1176, allocations: 0 / 447.2 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1176, allocations: 0 / 447.2 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.1178, allocations: 200.2 kB / 447.4 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.1178, allocations: 81.02 kB / 447.5 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1179, allocations: 11.94 kB / 447.5 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.1179, allocations: 3.984 kB / 447.5 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.118, allocations: 8 kB / 447.5 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.118, allocations: 4 kB / 447.5 MB, free: 60 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.699e-05/0.1181, allocations: 119.2 kB / 447.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1181, allocations: 4.188 kB / 447.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1184, allocations: 31.98 kB / 447.7 MB, free: 15.91 MB / 334.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.001075/0.1195, allocations: 0.4912 MB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1196, allocations: 71.89 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1197, allocations: 0 / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.1197, allocations: 31.98 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1201, allocations: 32.17 kB / 448.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.1204, allocations: 244.6 kB / 448.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1207, allocations: 0.7001 MB / 449.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.1208, allocations: 23.42 kB / 449.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1208, allocations: 0 / 449.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of Templates: time 0.003445/0.1242, allocations: 2.039 MB / 451.3 MB, free: 12.32 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches