Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 105.7 kB / 16.94 MB, free: 5.789 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.001425/0.001425, allocations: 187.3 kB / 17.86 MB, free: 5.156 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.453/1.453, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.2067/0.2067, allocations: 43.52 MB / 314.6 MB, free: 0.5352 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.00168/0.00168, allocations: 73.88 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.104, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003224/0.1072, allocations: 1.655 MB / 442.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1083, allocations: 0.7805 MB / 443.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.1084, allocations: 0 / 443.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1087, allocations: 55.81 kB / 443.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.109, allocations: 63.69 kB / 443.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.1092, allocations: 79.77 kB / 443.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1093, allocations: 91.69 kB / 443.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.1094, allocations: 8 kB / 443.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.1095, allocations: 35.86 kB / 444 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.1095, allocations: 31.78 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1096, allocations: 4 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.1096, allocations: 31.98 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.1097, allocations: 23.86 kB / 444.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.1098, allocations: 39.75 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1099, allocations: 115.8 kB / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1099, allocations: 0 / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1099, allocations: 0 / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1099, allocations: 4 kB / 444.2 MB, free: 3.879 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004387/0.1104, allocations: 434.6 kB / 444.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1104, allocations: 11.89 kB / 444.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1105, allocations: 8.844 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1106, allocations: 223.5 kB / 444.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1107, allocations: 384 / 444.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.1107, allocations: 4.125 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1108, allocations: 61.59 kB / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1108, allocations: 4 kB / 444.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1109, allocations: 0 / 444.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1109, allocations: 0 / 444.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.1109, allocations: 11.98 kB / 445 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.1111, allocations: 193.7 kB / 445.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1112, allocations: 50.62 kB / 445.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.1113, allocations: 32.72 kB / 445.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1113, allocations: 3.938 kB / 445.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.1115, allocations: 67.3 kB / 445.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.1115, allocations: 0 / 445.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002529/0.1118, allocations: 93.58 kB / 445.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1118, allocations: 55.34 kB / 445.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.112, allocations: 259.7 kB / 445.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.112, allocations: 33.7 kB / 445.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.1121, allocations: 108.1 kB / 445.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.1121, allocations: 15.75 kB / 445.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1121, allocations: 21.7 kB / 445.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.1122, allocations: 326.8 kB / 446.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.1123, allocations: 12 kB / 446.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.1123, allocations: 33.69 kB / 446.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.1124, allocations: 45.7 kB / 446.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1124, allocations: 3.938 kB / 446.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000135/0.1126, allocations: 89.38 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1126, allocations: 4 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1126, allocations: 0 / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1126, allocations: 4 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.1127, allocations: 11.98 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1127, allocations: 4.031 kB / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.1127, allocations: 8 kB / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1128, allocations: 3.938 kB / 446.4 MB, free: 1.441 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 (7): * Single equations (assignments): 7 * 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 7.686e-05/0.1128, allocations: 137.7 kB / 446.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.1129, allocations: 15.81 kB / 446.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.1129, allocations: 16.98 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1129, allocations: 4 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1129, allocations: 0 / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1129, allocations: 0 / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.883e-05/0.113, allocations: 201.6 kB / 446.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.113, allocations: 0 / 446.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.1131, allocations: 4 kB / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1131, allocations: 320 / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1131, allocations: 0 / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1131, allocations: 4 kB / 446.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1131, allocations: 4 kB / 446.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.1133, allocations: 116.8 kB / 446.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.1133, allocations: 93 kB / 447 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1133, allocations: 0 / 447 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.1134, allocations: 4 kB / 447 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.1134, allocations: 0 / 447 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1134, allocations: 4 kB / 447 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1136, allocations: 203.2 kB / 447.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1136, allocations: 0 / 447.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1138, allocations: 24 kB / 447.2 MB, free: 0.5312 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009357/0.1148, allocations: 415.3 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1149, allocations: 43.92 kB / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1149, allocations: 0 / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.115, allocations: 19.98 kB / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1153, allocations: 39.02 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.1158, allocations: 292.4 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1161, allocations: 0.7119 MB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1162, allocations: 19.42 kB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1162, allocations: 4 kB / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of Templates: time 0.004228/0.1204, allocations: 1.82 MB / 450.6 MB, free: 13.21 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches