Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001338/0.001338, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.533/1.533, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2127/0.2127, allocations: 43.51 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.001681/0.001682, allocations: 67.14 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.106, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002669/0.1087, allocations: 1.598 MB / 442.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005577/0.1093, allocations: 351.4 kB / 443.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.1094, allocations: 0 / 443.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.1098, allocations: 459.1 kB / 443.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1101, allocations: 243.5 kB / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1105, allocations: 159.5 kB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1107, allocations: 155.8 kB / 444.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1108, allocations: 28.05 kB / 444.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.1109, allocations: 115.7 kB / 444.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.111, allocations: 207.6 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.111, allocations: 4 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.1111, allocations: 24 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.11e-05/0.1112, allocations: 83.69 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.1113, allocations: 99 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1115, allocations: 259 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1115, allocations: 3.938 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1115, allocations: 0 / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1115, allocations: 0 / 444.9 MB, free: 3.152 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005235/0.1121, allocations: 0.6258 MB / 445.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1121, allocations: 11.89 kB / 445.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.1122, allocations: 44.38 kB / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1124, allocations: 292.2 kB / 445.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1124, allocations: 4.375 kB / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1124, allocations: 4.375 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1125, allocations: 65.59 kB / 446 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1126, allocations: 0 / 446 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1126, allocations: 3.938 kB / 446 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1126, allocations: 0 / 446 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.1127, allocations: 31.97 kB / 446 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1131, allocations: 392.7 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1133, allocations: 50.48 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.1134, allocations: 20.8 kB / 446.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1134, allocations: 0 / 446.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.1134, allocations: 34.64 kB / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1134, allocations: 0 / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000564/0.114, allocations: 235.9 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.114, allocations: 51.41 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.1146, allocations: 0.8652 MB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.1146, allocations: 25.7 kB / 447.7 MB, free: 224 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1147, allocations: 220 kB / 447.9 MB, free: 0 / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.1148, allocations: 27.88 kB / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1148, allocations: 21.72 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.115, allocations: 362.8 kB / 448.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.1151, allocations: 23.97 kB / 448.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.1151, allocations: 24.05 kB / 448.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1153, allocations: 52.83 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1153, allocations: 0 / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002271/0.1155, allocations: 121.1 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1156, allocations: 11.98 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1156, allocations: 0 / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1156, allocations: 288 / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.1157, allocations: 8 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1157, allocations: 4 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.1157, allocations: 7.922 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1157, allocations: 4 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001865/0.1159, allocations: 217.7 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.116, allocations: 51.41 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.1163, allocations: 137 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1163, allocations: 0 / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1163, allocations: 3.984 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1163, allocations: 3.938 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.1169, allocations: 462.5 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1169, allocations: 320 / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.1169, allocations: 23.92 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1169, allocations: 0 / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.117, allocations: 3.938 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.117, allocations: 0 / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.117, allocations: 0 / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.1172, allocations: 219 kB / 449.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.1173, allocations: 104.6 kB / 449.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1173, allocations: 7.938 kB / 449.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.1174, allocations: 7.984 kB / 449.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.1175, allocations: 4 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1175, allocations: 3.938 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005859/0.1181, allocations: 0.6472 MB / 450.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1181, allocations: 3.938 kB / 450.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1183, allocations: 31.98 kB / 450.4 MB, free: 13.3 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009606/0.1193, allocations: 398.4 kB / 450.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.1195, allocations: 51.97 kB / 450.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1195, allocations: 0 / 450.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.1196, allocations: 27.92 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.12, allocations: 37.89 kB / 450.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1211, allocations: 0.832 MB / 451.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1215, allocations: 0.822 MB / 452.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.1216, allocations: 15.44 kB / 452.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1216, allocations: 0 / 452.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Templates: time 0.006649/0.1282, allocations: 3.715 MB / 456.3 MB, free: 7.434 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches