Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 106.8 kB / 16.94 MB, free: 5.793 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.001673/0.001673, allocations: 183.3 kB / 17.86 MB, free: 5.164 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.419/1.419, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.2142/0.2142, allocations: 43.51 MB / 314.6 MB, free: 0.543 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.002054/0.002054, allocations: 77.97 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 57.78 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002762/0.1097, allocations: 1.699 MB / 442.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1108, allocations: 0.7922 MB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.1109, allocations: 0 / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.1112, allocations: 51.77 kB / 443.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1114, allocations: 51.75 kB / 443.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1116, allocations: 91.69 kB / 443.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1118, allocations: 87.77 kB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.1119, allocations: 8.516 kB / 444 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.1119, allocations: 43.73 kB / 444 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.112, allocations: 31.84 kB / 444 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.112, allocations: 4 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.1121, allocations: 43.98 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.1122, allocations: 23.91 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.1122, allocations: 35.73 kB / 444.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1124, allocations: 115.6 kB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1124, allocations: 0 / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1124, allocations: 0 / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1124, allocations: 0 / 444.3 MB, free: 3.828 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.0004787/0.1129, allocations: 422.9 kB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.113, allocations: 15.88 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.113, allocations: 12.78 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1132, allocations: 204.7 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1132, allocations: 4.375 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1132, allocations: 4.125 kB / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1134, allocations: 57.66 kB / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1134, allocations: 0 / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1134, allocations: 0 / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1134, allocations: 4 kB / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.1135, allocations: 27.92 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.1139, allocations: 288.9 kB / 445.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1141, allocations: 50.69 kB / 445.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.1142, allocations: 24.84 kB / 445.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1142, allocations: 7.938 kB / 445.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1144, allocations: 71.33 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1144, allocations: 0 / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005262/0.1149, allocations: 173.3 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.115, allocations: 51.41 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1151, allocations: 195.3 kB / 445.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1151, allocations: 33.7 kB / 445.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.1152, allocations: 108 kB / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1152, allocations: 19.75 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1153, allocations: 29.7 kB / 446 MB, free: 1.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.1153, allocations: 326.8 kB / 446.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.1154, allocations: 20.17 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.1155, allocations: 41.7 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.427e-05/0.1156, allocations: 65.7 kB / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1156, allocations: 0 / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001524/0.1157, allocations: 109.4 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1157, allocations: 4 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1157, allocations: 0 / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1158, allocations: 3.984 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.1159, allocations: 16 kB / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1159, allocations: 0 / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.1159, allocations: 11.95 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1159, allocations: 7.938 kB / 446.6 MB, free: 1.23 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 8.025e-05/0.116, allocations: 129.8 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.116, allocations: 15.8 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.1161, allocations: 13.41 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1161, allocations: 4 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1161, allocations: 0 / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1161, allocations: 3.938 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.1165, allocations: 395.3 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1165, allocations: 3.984 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.1165, allocations: 11.94 kB / 447.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1165, allocations: 0 / 447.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1165, allocations: 3.938 kB / 447.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1165, allocations: 4 kB / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1165, allocations: 0 / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.1167, allocations: 200.5 kB / 447.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.1168, allocations: 92.91 kB / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1168, allocations: 11.88 kB / 447.5 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.604e-05/0.1169, allocations: 4 kB / 447.5 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.1169, allocations: 3.984 kB / 447.5 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1169, allocations: 4 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.117, allocations: 156.8 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.117, allocations: 0 / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1173, allocations: 24 kB / 447.7 MB, free: 64 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.001213/0.1185, allocations: 465.3 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1187, allocations: 71.91 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1187, allocations: 0 / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.116e-05/0.1188, allocations: 32.12 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1191, allocations: 24.12 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.1196, allocations: 265.1 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1199, allocations: 0.7002 MB / 449.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.12, allocations: 23.42 kB / 449.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.12, allocations: 0 / 449.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of Templates: time 0.00378/0.1237, allocations: 1.92 MB / 451.2 MB, free: 12.61 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches