Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 110.5 kB / 17.04 MB, free: 5.812 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.001376/0.001376, allocations: 196 kB / 17.98 MB, free: 5.027 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.495/1.495, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2115/0.2115, allocations: 43.51 MB / 314.7 MB, free: 488 kB / 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.001499/0.0015, allocations: 69.45 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1066, allocations: 57.8 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002571/0.1093, allocations: 1.685 MB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1104, allocations: 0.7961 MB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.1104, allocations: 7.938 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1107, allocations: 43.81 kB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.1109, allocations: 59.7 kB / 444.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1112, allocations: 91.69 kB / 444.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1113, allocations: 87.77 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.1114, allocations: 20.2 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.1115, allocations: 39.8 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.1115, allocations: 23.86 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1116, allocations: 4 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.1116, allocations: 47.97 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.1117, allocations: 31.8 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.1117, allocations: 35.73 kB / 445 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1119, allocations: 115.6 kB / 445.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1119, allocations: 0 / 445.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1119, allocations: 4 kB / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1119, allocations: 0 / 445.1 MB, free: 3.043 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.0004235/0.1124, allocations: 426.8 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1124, allocations: 15.89 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.1124, allocations: 12.84 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1127, allocations: 223.9 kB / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1127, allocations: 384 / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1127, allocations: 8.125 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1128, allocations: 57.67 kB / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1129, allocations: 0 / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1129, allocations: 0 / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1129, allocations: 4 kB / 445.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.353e-05/0.113, allocations: 15.98 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.1132, allocations: 292.9 kB / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1134, allocations: 58.62 kB / 446.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.1134, allocations: 28.83 kB / 446.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1135, allocations: 0 / 446.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.1136, allocations: 67.39 kB / 446.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1136, allocations: 0 / 446.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004439/0.1141, allocations: 177.1 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1141, allocations: 59.41 kB / 446.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1143, allocations: 226.6 kB / 446.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1143, allocations: 25.7 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.1143, allocations: 116.1 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1144, allocations: 23.66 kB / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1144, allocations: 25.64 kB / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.1145, allocations: 326.8 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.1146, allocations: 23.94 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.1146, allocations: 37.7 kB / 447.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1147, allocations: 61.7 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1147, allocations: 0 / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001507/0.1149, allocations: 105.5 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1149, allocations: 9.25 kB / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1149, allocations: 0 / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.115, allocations: 4.031 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.115, allocations: 16 kB / 447.5 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.115, allocations: 3.938 kB / 447.5 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.1151, allocations: 12.3 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1151, allocations: 4 kB / 447.5 MB, free: 396 kB / 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.751e-05/0.1152, allocations: 133.8 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.1152, allocations: 11.91 kB / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.1153, allocations: 13.41 kB / 447.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1153, allocations: 4 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1153, allocations: 8 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1153, allocations: 3.938 kB / 447.7 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.1157, allocations: 399.2 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1157, allocations: 0 / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.1158, allocations: 8 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1158, allocations: 0 / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1158, allocations: 7.938 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1158, allocations: 0 / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1158, allocations: 4.031 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.116, allocations: 208.2 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.1161, allocations: 88.92 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1161, allocations: 7.938 kB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.1162, allocations: 4 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.1163, allocations: 7.984 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1163, allocations: 8 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1164, allocations: 163.2 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.1164, allocations: 192 / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1167, allocations: 31.92 kB / 448.6 MB, free: 15.19 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.001142/0.1179, allocations: 468 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1181, allocations: 63.91 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1181, allocations: 0 / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.794e-05/0.1182, allocations: 27.94 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1185, allocations: 28.28 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.1191, allocations: 251.2 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1194, allocations: 0.7118 MB / 450.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.1195, allocations: 16.88 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.1195, allocations: 23.42 kB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1196, allocations: 0 / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of Templates: time 0.004571/0.1241, allocations: 1.697 MB / 451.8 MB, free: 11.96 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches