Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 105.2 kB / 17.03 MB, free: 5.66 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.001035/0.001035, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.432/1.432, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2091/0.2091, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 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.001705/0.001705, allocations: 65.62 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1171, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.00322/0.1204, allocations: 1.592 MB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006506/0.121, allocations: 331.5 kB / 443.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.1211, allocations: 8 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.1216, allocations: 443.2 kB / 444.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.1219, allocations: 255.4 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1222, allocations: 110.8 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1225, allocations: 155.8 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1226, allocations: 20.06 kB / 444.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1227, allocations: 111.7 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1229, allocations: 211.6 kB / 445.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1229, allocations: 4 kB / 445.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.543e-05/0.123, allocations: 31.98 kB / 445.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.1231, allocations: 79.69 kB / 445.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.1232, allocations: 99.05 kB / 445.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1234, allocations: 255 kB / 445.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1234, allocations: 0 / 445.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1234, allocations: 0 / 445.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1235, allocations: 0 / 445.6 MB, free: 2.449 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.0005331/0.124, allocations: 0.6336 MB / 446.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.124, allocations: 11.89 kB / 446.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.1241, allocations: 36.47 kB / 446.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1243, allocations: 296.2 kB / 446.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1243, allocations: 384 / 446.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1243, allocations: 4.375 kB / 446.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1245, allocations: 65.53 kB / 446.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1245, allocations: 0 / 446.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.1245, allocations: 4 kB / 446.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1245, allocations: 0 / 446.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.101e-05/0.1246, allocations: 23.98 kB / 446.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.125, allocations: 384.6 kB / 447.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.1252, allocations: 46.5 kB / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.1252, allocations: 16.94 kB / 447.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1253, allocations: 4 kB / 447.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.1253, allocations: 30.56 kB / 447.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1253, allocations: 0 / 447.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005299/0.1258, allocations: 227.8 kB / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.1259, allocations: 55.41 kB / 447.4 MB, free: 460 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007282/0.1266, allocations: 0.8613 MB / 448.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1266, allocations: 29.7 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1269, allocations: 216.1 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.1269, allocations: 15.75 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.1269, allocations: 17.72 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1271, allocations: 362.8 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.1272, allocations: 15.98 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.1273, allocations: 23.98 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1274, allocations: 52.95 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1274, allocations: 0 / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002025/0.1276, allocations: 113.1 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1277, allocations: 9.25 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1277, allocations: 0 / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1277, allocations: 3.938 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.1278, allocations: 15.98 kB / 449.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1278, allocations: 4 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.1278, allocations: 3.938 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1279, allocations: 4 kB / 449.2 MB, free: 14.68 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.000179/0.128, allocations: 221.6 kB / 449.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.1281, allocations: 39.44 kB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.1284, allocations: 133 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1284, allocations: 4 kB / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1284, allocations: 0 / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1284, allocations: 3.938 kB / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007031/0.1291, allocations: 458.5 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1292, allocations: 0 / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.1292, allocations: 11.98 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1292, allocations: 0 / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.1292, allocations: 3.938 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1292, allocations: 8 kB / 450 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1293, allocations: 192 / 450 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.1297, allocations: 211 kB / 450.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1298, allocations: 116.5 kB / 450.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.1298, allocations: 3.938 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.1299, allocations: 4 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.13, allocations: 7.984 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.13, allocations: 4 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006337/0.1306, allocations: 0.6433 MB / 451 MB, free: 12.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1306, allocations: 4 kB / 451 MB, free: 12.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1309, allocations: 20 kB / 451 MB, free: 12.7 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.001078/0.132, allocations: 401.6 kB / 451.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1322, allocations: 47.97 kB / 451.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1323, allocations: 0 / 451.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.1323, allocations: 31.91 kB / 451.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.1328, allocations: 25.72 kB / 451.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1341, allocations: 0.7757 MB / 452.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.1346, allocations: 0.8182 MB / 453.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.1346, allocations: 11.98 kB / 453.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.1347, allocations: 11.44 kB / 453.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1347, allocations: 4 kB / 453.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of Templates: time 0.005422/0.1401, allocations: 1.457 MB / 454.6 MB, free: 9.164 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches