Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.000901, allocations: 93.31 kB / 18 MB, free: 5.602 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.001073/0.001072, allocations: 179.7 kB / 18.91 MB, free: 4.734 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.438/1.438, allocations: 223.3 MB / 243 MB, free: 14.29 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.1951/0.1951, allocations: 44.24 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003888, allocations: 8 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1165, allocations: 61.93 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00215/0.1187, allocations: 1.29 MB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007503/0.1195, allocations: 395.4 kB / 474.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.1196, allocations: 4 kB / 474.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1199, allocations: 103.8 kB / 474.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1201, allocations: 75.78 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1204, allocations: 79.78 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1206, allocations: 67.89 kB / 474.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1207, allocations: 24.16 kB / 474.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.1208, allocations: 39.78 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1209, allocations: 55.88 kB / 475 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1209, allocations: 0 / 475 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.894e-05/0.121, allocations: 35.98 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.1211, allocations: 31.84 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.1211, allocations: 53.45 kB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.1213, allocations: 76.17 kB / 475.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1213, allocations: 4 kB / 475.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1213, allocations: 0 / 475.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1213, allocations: 7.938 kB / 475.2 MB, free: 10.94 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.0004664/0.1218, allocations: 414.9 kB / 475.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1218, allocations: 12.03 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.1219, allocations: 8.844 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1221, allocations: 204.5 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1221, allocations: 384 / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1221, allocations: 8.359 kB / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1223, allocations: 61.62 kB / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1223, allocations: 0 / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1223, allocations: 0 / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1224, allocations: 0 / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1225, allocations: 35.91 kB / 476 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.1229, allocations: 300.7 kB / 476.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.123, allocations: 42.56 kB / 476.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.1231, allocations: 24.94 kB / 476.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1231, allocations: 0 / 476.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1231, allocations: 34.5 kB / 476.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1231, allocations: 0 / 476.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009333/0.1241, allocations: 253.1 kB / 476.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1241, allocations: 51.41 kB / 476.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.1244, allocations: 246.5 kB / 476.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1244, allocations: 25.7 kB / 476.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.1245, allocations: 112.1 kB / 477 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1245, allocations: 27.72 kB / 477.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1245, allocations: 17.7 kB / 477.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1247, allocations: 322.8 kB / 477.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.1247, allocations: 23.98 kB / 477.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.1248, allocations: 31.98 kB / 477.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.125, allocations: 72.83 kB / 477.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.125, allocations: 0 / 477.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002209/0.1252, allocations: 117.6 kB / 477.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1253, allocations: 4 kB / 477.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1253, allocations: 0 / 477.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1253, allocations: 7.984 kB / 477.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1254, allocations: 20 kB / 477.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1254, allocations: 3.938 kB / 477.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1255, allocations: 8.406 kB / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1255, allocations: 4 kB / 477.7 MB, free: 8.266 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 (8): * Single equations (assignments): 8 * 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.0001027/0.1256, allocations: 133.8 kB / 477.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.1256, allocations: 11.81 kB / 477.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.1259, allocations: 131 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.126, allocations: 3.984 kB / 478 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.126, allocations: 7.875 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.126, allocations: 4 kB / 478 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.1265, allocations: 407.3 kB / 478.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1265, allocations: 4 kB / 478.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.1266, allocations: 27.95 kB / 478.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1266, allocations: 4 kB / 478.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1266, allocations: 0 / 478.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1266, allocations: 0 / 478.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1266, allocations: 3.938 kB / 478.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.1269, allocations: 220.2 kB / 478.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.127, allocations: 92.86 kB / 478.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.127, allocations: 4 kB / 478.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.1271, allocations: 7.984 kB / 478.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1272, allocations: 8 kB / 478.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1272, allocations: 0 / 478.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1273, allocations: 192.3 kB / 478.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1273, allocations: 0 / 478.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1276, allocations: 19.98 kB / 478.9 MB, free: 6.902 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001137/0.1287, allocations: 456 kB / 479.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.129, allocations: 75.94 kB / 479.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.129, allocations: 0 / 479.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1291, allocations: 39.92 kB / 479.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1295, allocations: 26.64 kB / 479.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.1301, allocations: 340 kB / 479.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1304, allocations: 0.7122 MB / 480.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.1304, allocations: 15.42 kB / 480.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of SimCode: time 3.196e-06/0.1304, allocations: 3.938 kB / 480.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of Templates: time 0.003895/0.1343, allocations: 1.758 MB / 482.3 MB, free: 3.613 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches