Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001222, allocations: 106.2 kB / 17.33 MB, free: 6 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.001271/0.001271, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2102/0.2102, allocations: 44.17 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 61.28 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 60.84 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003133/0.1102, allocations: 1.669 MB / 470.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1115, allocations: 1.011 MB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.1115, allocations: 0 / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.1118, allocations: 23.91 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.112, allocations: 35.91 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.1123, allocations: 122.7 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1125, allocations: 59.83 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.1126, allocations: 12.19 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/0.1126, allocations: 23.92 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1128, allocations: 35.77 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1128, allocations: 4 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1129, allocations: 55.98 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.113, allocations: 15.92 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.113, allocations: 23.86 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1132, allocations: 91.77 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1132, allocations: 0 / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1133, allocations: 0 / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1133, allocations: 3.938 kB / 471.9 MB, free: 11.53 MB / 350.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.0005204/0.1138, allocations: 383.5 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1138, allocations: 15.97 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1139, allocations: 12.84 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1141, allocations: 192.2 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1141, allocations: 4.375 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1141, allocations: 384 / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1143, allocations: 79.31 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1143, allocations: 0 / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1144, allocations: 0 / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1144, allocations: 3.984 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.1145, allocations: 43.91 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.1149, allocations: 284.7 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.115, allocations: 42.56 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.1151, allocations: 24.94 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1152, allocations: 4 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1152, allocations: 34.5 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1152, allocations: 0 / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007484/0.1159, allocations: 205.3 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.116, allocations: 81.11 kB / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1161, allocations: 137.8 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1162, allocations: 25.7 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.1162, allocations: 96.03 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1162, allocations: 23.66 kB / 473.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.1163, allocations: 17.72 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1164, allocations: 326.8 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1165, allocations: 27.97 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1167, allocations: 45.69 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.1169, allocations: 76.84 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1169, allocations: 4 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002561/0.1171, allocations: 113.5 kB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1172, allocations: 8 kB / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1172, allocations: 0 / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1172, allocations: 0 / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1173, allocations: 19.98 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1173, allocations: 3.984 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.1174, allocations: 11.94 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1174, allocations: 8 kB / 474.2 MB, free: 8.977 MB / 350.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 (7): * Single equations (assignments): 7 * 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.764e-05/0.1175, allocations: 122.3 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1175, allocations: 7.906 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.1178, allocations: 121.9 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1179, allocations: 4 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1179, allocations: 3.938 kB / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1179, allocations: 3.938 kB / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.1184, allocations: 382.9 kB / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1184, allocations: 4 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.1185, allocations: 23.92 kB / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1185, allocations: 4 kB / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1185, allocations: 7.938 kB / 474.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1185, allocations: 0 / 474.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1185, allocations: 0 / 474.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.1188, allocations: 203.4 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1189, allocations: 89 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1189, allocations: 7.938 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.119, allocations: 7.984 kB / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1191, allocations: 8 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1191, allocations: 0 / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.925e-05/0.1192, allocations: 111.5 kB / 475.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1192, allocations: 0 / 475.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1194, allocations: 24 kB / 475.3 MB, free: 7.762 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0009776/0.1204, allocations: 452.1 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.1207, allocations: 71.94 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1207, allocations: 4 kB / 475.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.1208, allocations: 47.91 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1212, allocations: 15.98 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.1216, allocations: 210 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.1218, allocations: 0.6924 MB / 476.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.1219, allocations: 16.25 kB / 476.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1219, allocations: 15.42 kB / 476.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1219, allocations: 4 kB / 476.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of Templates: time 0.003801/0.1257, allocations: 1.465 MB / 478.3 MB, free: 4.906 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches