Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 101.9 kB / 16.94 MB, free: 6.164 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.001423/0.001423, allocations: 191.3 kB / 17.86 MB, free: 5.293 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.456/1.456, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2247/0.2247, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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.001579/0.00158, allocations: 75.8 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1065, allocations: 57.8 MB / 441.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002918/0.1095, allocations: 1.686 MB / 442.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1105, allocations: 0.8 MB / 443.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.1106, allocations: 0 / 443.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.1109, allocations: 47.77 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1111, allocations: 47.77 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1113, allocations: 83.7 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1115, allocations: 103.7 kB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1116, allocations: 12.5 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.922e-05/0.1117, allocations: 39.8 kB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.1117, allocations: 27.84 kB / 444.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1117, allocations: 4 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.775e-05/0.1118, allocations: 43.98 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.1119, allocations: 15.92 kB / 444.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.1119, allocations: 35.73 kB / 444.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1121, allocations: 111.6 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1121, allocations: 7.938 kB / 444.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1121, allocations: 0 / 444.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1121, allocations: 0 / 444.3 MB, free: 3.809 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.0004456/0.1126, allocations: 414.9 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1126, allocations: 11.89 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.1127, allocations: 8.844 kB / 444.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1129, allocations: 209.2 kB / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1129, allocations: 384 / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1129, allocations: 12.12 kB / 444.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1131, allocations: 53.67 kB / 445 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1131, allocations: 3.938 kB / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1131, allocations: 0 / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1131, allocations: 4 kB / 445 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.627e-05/0.1132, allocations: 19.98 kB / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.1135, allocations: 284.8 kB / 445.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1136, allocations: 66.61 kB / 445.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.1137, allocations: 16.86 kB / 445.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1137, allocations: 4 kB / 445.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.1139, allocations: 67.33 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1139, allocations: 0 / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004934/0.1144, allocations: 181.1 kB / 445.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.1144, allocations: 59.34 kB / 445.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1145, allocations: 190.1 kB / 445.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1146, allocations: 29.7 kB / 445.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.1146, allocations: 100.1 kB / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1146, allocations: 19.72 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1147, allocations: 25.7 kB / 446 MB, free: 1.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.1147, allocations: 330.8 kB / 446.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.1148, allocations: 16 kB / 446.3 MB, free: 1.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.1149, allocations: 41.64 kB / 446.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.638e-05/0.115, allocations: 61.77 kB / 446.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.115, allocations: 0 / 446.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001515/0.1151, allocations: 101.5 kB / 446.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1151, allocations: 8.031 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1152, allocations: 3.984 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1152, allocations: 4 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.1153, allocations: 12 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1153, allocations: 0 / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.1153, allocations: 11.94 kB / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1153, allocations: 0 / 446.6 MB, free: 1.25 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.839e-05/0.1154, allocations: 133.8 kB / 446.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.1154, allocations: 15.75 kB / 446.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.1155, allocations: 20.7 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1155, allocations: 0 / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1155, allocations: 0 / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1155, allocations: 7.938 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.1158, allocations: 387.3 kB / 447.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1158, allocations: 384 / 447.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.1159, allocations: 8 kB / 447.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1159, allocations: 4 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1159, allocations: 19.95 kB / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1159, allocations: 0 / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1159, allocations: 0 / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1161, allocations: 196.3 kB / 447.4 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.1161, allocations: 85.2 kB / 447.4 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1162, allocations: 7.938 kB / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.1162, allocations: 15.88 kB / 447.5 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.1163, allocations: 11.92 kB / 447.5 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1163, allocations: 4 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.1164, allocations: 143.2 kB / 447.6 MB, free: 100 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1164, allocations: 0 / 447.6 MB, free: 100 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1166, allocations: 27.91 kB / 447.7 MB, free: 72 kB / 318.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.001065/0.1177, allocations: 460.4 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.1179, allocations: 63.91 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1179, allocations: 0 / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.118, allocations: 32.06 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1183, allocations: 25.31 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.1188, allocations: 253 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.1191, allocations: 0.708 MB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.1191, allocations: 15.44 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1191, allocations: 0 / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Templates: time 0.003743/0.1229, allocations: 1.892 MB / 451.1 MB, free: 12.68 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches