Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 108.3 kB / 18.41 MB, free: 4.695 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.001013/0.001013, allocations: 191 kB / 19.34 MB, free: 3.766 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.331/1.331, allocations: 222.9 MB / 243 MB, free: 15.15 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.1979/0.1979, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.69 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1121, allocations: 60.84 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00293/0.1151, allocations: 1.555 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1166, allocations: 1.031 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.1166, allocations: 0 / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.1168, allocations: 19.84 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.117, allocations: 55.7 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1174, allocations: 103.7 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1175, allocations: 59.84 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.1176, allocations: 7.984 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.1177, allocations: 23.86 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1178, allocations: 35.91 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1178, allocations: 0 / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1179, allocations: 47.98 kB / 473.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.118, allocations: 15.91 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.118, allocations: 15.88 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1182, allocations: 95.7 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1182, allocations: 0 / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1182, allocations: 0 / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1182, allocations: 0 / 473.8 MB, free: 10.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004764/0.1187, allocations: 383.2 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1188, allocations: 12.03 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.1188, allocations: 8.844 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.119, allocations: 184.2 kB / 474.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1191, allocations: 384 / 474.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1191, allocations: 4.375 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1192, allocations: 67.45 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1193, allocations: 4 kB / 474.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1193, allocations: 4 kB / 474.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1193, allocations: 4 kB / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.802e-05/0.1194, allocations: 23.97 kB / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.1198, allocations: 280.9 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.12, allocations: 42.5 kB / 474.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.1201, allocations: 20.94 kB / 474.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1201, allocations: 4 kB / 474.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1201, allocations: 34.56 kB / 474.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1201, allocations: 0 / 474.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005357/0.1207, allocations: 149.2 kB / 475 MB, free: 9.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1207, allocations: 77.11 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1209, allocations: 144.3 kB / 475.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1209, allocations: 25.7 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.121, allocations: 92.14 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.121, allocations: 15.75 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.121, allocations: 25.7 kB / 475.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1212, allocations: 314.8 kB / 475.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.1212, allocations: 19.98 kB / 475.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.1213, allocations: 45.69 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.1214, allocations: 52.7 kB / 475.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1215, allocations: 3.938 kB / 475.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001937/0.1217, allocations: 89.56 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1217, allocations: 4 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1217, allocations: 0 / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1217, allocations: 4.031 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.648e-05/0.1218, allocations: 8 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1218, allocations: 4 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.1218, allocations: 7.984 kB / 475.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.1218, allocations: 4 kB / 475.9 MB, free: 8.23 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 (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.0001013/0.1219, allocations: 121.7 kB / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.122, allocations: 7.906 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.1222, allocations: 97.61 kB / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1222, allocations: 0 / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1222, allocations: 320 / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1223, allocations: 4 kB / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.1227, allocations: 358.4 kB / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1227, allocations: 0 / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.1228, allocations: 15.98 kB / 476.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1228, allocations: 0 / 476.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1228, allocations: 4 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1228, allocations: 3.938 kB / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1228, allocations: 0 / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1231, allocations: 179.4 kB / 476.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.1231, allocations: 77.11 kB / 476.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1231, allocations: 8 kB / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.1232, allocations: 11.94 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1233, allocations: 7.922 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1233, allocations: 0 / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.539e-05/0.1234, allocations: 103.3 kB / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1234, allocations: 0 / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1236, allocations: 31.89 kB / 476.9 MB, free: 7.113 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 (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.001092/0.1247, allocations: 441.5 kB / 477.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.125, allocations: 55.91 kB / 477.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.125, allocations: 0 / 477.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.1251, allocations: 31.91 kB / 477.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1254, allocations: 14.66 kB / 477.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.1258, allocations: 161.4 kB / 477.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1262, allocations: 0.6885 MB / 478.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.019e-05/0.1263, allocations: 19.97 kB / 478.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1263, allocations: 11.44 kB / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1263, allocations: 0 / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.004133/0.1305, allocations: 1.375 MB / 479.7 MB, free: 4.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches