Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009622/0.0009621, allocations: 100.9 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3156/0.3156, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 55.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1047, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003594/0.1083, allocations: 2.017 MB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1098, allocations: 0.956 MB / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.1099, allocations: 0 / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1102, allocations: 35.77 kB / 490 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1105, allocations: 135.6 kB / 490.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007836/0.1113, allocations: 371.3 kB / 490.5 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.1116, allocations: 235.3 kB / 490.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.1117, allocations: 64.5 kB / 490.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1119, allocations: 119.5 kB / 490.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1121, allocations: 167.4 kB / 491.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.1121, allocations: 8 kB / 491.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.159e-05/0.1122, allocations: 31.98 kB / 491.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1124, allocations: 139.5 kB / 491.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1125, allocations: 150.8 kB / 491.4 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.1128, allocations: 334.6 kB / 491.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1128, allocations: 0 / 491.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1128, allocations: 0 / 491.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1128, allocations: 0 / 491.7 MB, free: 7.801 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008657/0.1137, allocations: 0.7348 MB / 492.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.1137, allocations: 8.031 kB / 492.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.1138, allocations: 52.28 kB / 492.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.1143, allocations: 435.9 kB / 492.9 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1143, allocations: 12.38 kB / 493 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1143, allocations: 16.12 kB / 493 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1145, allocations: 123.8 kB / 493.1 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1146, allocations: 4 kB / 493.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1146, allocations: 4 kB / 493.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1146, allocations: 0 / 493.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.1148, allocations: 83.83 kB / 493.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008098/0.1156, allocations: 0.6682 MB / 493.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1158, allocations: 109.2 kB / 494 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.1159, allocations: 45.81 kB / 494 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1159, allocations: 0 / 494 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.116, allocations: 38.44 kB / 494 MB, free: 5.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 9.31e-07/0.116, allocations: 4 kB / 494 MB, free: 5.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001214/0.1172, allocations: 0.4982 MB / 494.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1172, allocations: 81.11 kB / 494.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.1181, allocations: 0.8426 MB / 495.5 MB, free: 3.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1181, allocations: 29.7 kB / 495.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1183, allocations: 240.3 kB / 495.7 MB, free: 3.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.1183, allocations: 59.12 kB / 495.8 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.1184, allocations: 33.7 kB / 495.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1185, allocations: 374.7 kB / 496.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1187, allocations: 51.97 kB / 496.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1188, allocations: 73.67 kB / 496.3 MB, free: 2.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.1191, allocations: 137.8 kB / 496.4 MB, free: 2.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1191, allocations: 0 / 496.4 MB, free: 2.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000407/0.1195, allocations: 220.9 kB / 496.7 MB, free: 2.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1196, allocations: 4 kB / 496.7 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1196, allocations: 224 / 496.7 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1196, allocations: 4 kB / 496.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1198, allocations: 43.89 kB / 496.7 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1198, allocations: 7.938 kB / 496.7 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1199, allocations: 8 kB / 496.7 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.12, allocations: 11.98 kB / 496.7 MB, free: 2.516 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001657/0.1201, allocations: 209.7 kB / 496.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/0.1202, allocations: 51.34 kB / 497 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.1208, allocations: 262.8 kB / 497.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1208, allocations: 0 / 497.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1208, allocations: 0 / 497.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1208, allocations: 4 kB / 497.3 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.1218, allocations: 0.7553 MB / 498 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1218, allocations: 4 kB / 498 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.122, allocations: 43.91 kB / 498.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.122, allocations: 0 / 498.1 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.122, allocations: 4 kB / 498.1 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.122, allocations: 7.938 kB / 498.1 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.122, allocations: 0 / 498.1 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/0.1229, allocations: 1.108 MB / 499.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.1231, allocations: 140.4 kB / 499.3 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.1231, allocations: 4 kB / 499.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.1233, allocations: 11.98 kB / 499.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.1234, allocations: 11.98 kB / 499.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1234, allocations: 7.984 kB / 499.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005732/0.124, allocations: 0.6159 MB / 500 MB, free: 15.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.124, allocations: 7.938 kB / 500 MB, free: 15.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.1244, allocations: 48 kB / 0.4883 GB, free: 15.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0008046/0.1252, allocations: 418.5 kB / 0.4887 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.1256, allocations: 139.8 kB / 0.4888 GB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1256, allocations: 0 / 0.4888 GB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.1258, allocations: 83.89 kB / 0.4889 GB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.1264, allocations: 70.2 kB / 0.489 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1276, allocations: 1.138 MB / 0.4901 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.128, allocations: 0.8539 MB / 0.4909 GB, free: 12.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.1282, allocations: 71.55 kB / 0.491 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.1283, allocations: 39.36 kB / 0.491 GB, free: 12.26 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.1283, allocations: 7.938 kB / 0.491 GB, free: 12.25 MB / 394.7 MB Notification: Performance of Templates: time 0.006897/0.1352, allocations: 3.834 MB / 0.4948 GB, free: 8.418 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches