Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 112.3 kB / 17.33 MB, free: 6.012 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.001042/0.001042, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.397/1.397, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.2117/0.2117, allocations: 44.18 MB / 336.2 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.12 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1166, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003569/0.1202, allocations: 1.633 MB / 470.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008244/0.121, allocations: 403.3 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.1211, allocations: 0 / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.1215, allocations: 127.7 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.1217, allocations: 83.77 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.122, allocations: 82.47 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1222, allocations: 75.88 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1223, allocations: 20.16 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.1223, allocations: 47.78 kB / 471.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1225, allocations: 83.84 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1225, allocations: 3.938 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1226, allocations: 47.97 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.1227, allocations: 31.86 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.1228, allocations: 35.69 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1229, allocations: 108 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.123, allocations: 0 / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.123, allocations: 3.938 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.123, allocations: 0 / 471.5 MB, free: 11.93 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.000509/0.1235, allocations: 434.7 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1235, allocations: 12.03 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.1236, allocations: 8.844 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1238, allocations: 207.9 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1238, allocations: 4.375 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1238, allocations: 4.359 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.124, allocations: 57.61 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.124, allocations: 4 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.124, allocations: 4 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.124, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.1241, allocations: 27.92 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1245, allocations: 304.7 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1246, allocations: 42.56 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.1247, allocations: 16.86 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1247, allocations: 8.094 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1247, allocations: 34.56 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1247, allocations: 4 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000923/0.1257, allocations: 221 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1257, allocations: 59.39 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.126, allocations: 278.1 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.126, allocations: 25.7 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.1261, allocations: 112 kB / 473.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.1262, allocations: 23.66 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.1262, allocations: 25.7 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1264, allocations: 326.8 kB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.1264, allocations: 23.98 kB / 473.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.1265, allocations: 23.98 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1267, allocations: 64.77 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1267, allocations: 0 / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001993/0.1269, allocations: 109.7 kB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1269, allocations: 4 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1269, allocations: 0 / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1269, allocations: 3.984 kB / 473.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.127, allocations: 16 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.127, allocations: 8 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.1271, allocations: 3.984 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1271, allocations: 7.938 kB / 473.9 MB, free: 9.246 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.0001212/0.1272, allocations: 142.3 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1273, allocations: 11.81 kB / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.1275, allocations: 119 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1275, allocations: 0 / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1275, allocations: 7.938 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1276, allocations: 0 / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.128, allocations: 407.3 kB / 474.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.128, allocations: 4.422 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.1281, allocations: 19.92 kB / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1281, allocations: 0 / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1281, allocations: 7.938 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1281, allocations: 0 / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1282, allocations: 0 / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1284, allocations: 204.2 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.1285, allocations: 96.84 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.1285, allocations: 4 kB / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.1286, allocations: 7.984 kB / 474.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1286, allocations: 11.94 kB / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1286, allocations: 7.984 kB / 475 MB, free: 8.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1288, allocations: 203.2 kB / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1288, allocations: 0 / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.129, allocations: 20 kB / 475.2 MB, free: 7.891 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.001056/0.1301, allocations: 452.2 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.1303, allocations: 71.95 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1303, allocations: 0 / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.1304, allocations: 32.08 kB / 475.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1308, allocations: 35.7 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.1314, allocations: 335.4 kB / 476.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1317, allocations: 0.7158 MB / 476.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.349e-05/0.1317, allocations: 12.59 kB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.1318, allocations: 19.44 kB / 476.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1318, allocations: 3.938 kB / 476.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Templates: time 0.003844/0.1356, allocations: 1.316 MB / 478.2 MB, free: 5.039 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches