Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,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.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 107.4 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4029/0.4029, allocations: 44.14 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 60.11 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3575, allocations: 60.8 MB / 0.5064 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002968/0.3605, allocations: 1.619 MB / 0.508 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006994/0.3612, allocations: 396.5 kB / 0.5083 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.3613, allocations: 0 / 0.5083 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.3615, allocations: 31.25 kB / 0.5084 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.3617, allocations: 31.89 kB / 0.5084 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.3619, allocations: 74.72 kB / 0.5085 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.362, allocations: 49.69 kB / 0.5085 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3621, allocations: 20.98 kB / 0.5085 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.3622, allocations: 19.16 kB / 0.5086 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.3623, allocations: 16.5 kB / 0.5086 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3623, allocations: 6.031 kB / 0.5086 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.3624, allocations: 25.69 kB / 0.5086 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.3624, allocations: 16.8 kB / 0.5086 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.3625, allocations: 23.41 kB / 0.5087 GB, free: 37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.3626, allocations: 71.45 kB / 0.5087 GB, free: 36.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3626, allocations: 0 / 0.5087 GB, free: 36.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.3626, allocations: 0 / 0.5087 GB, free: 36.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.3626, allocations: 5.062 kB / 0.5087 GB, free: 36.96 MB / 378.7 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.0004037/0.363, allocations: 392.1 kB / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3631, allocations: 12.62 kB / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.3631, allocations: 9.375 kB / 0.5091 GB, free: 36.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.3633, allocations: 190.9 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.3633, allocations: 1.75 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3633, allocations: 2 kB / 0.5093 GB, free: 36.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3634, allocations: 49.75 kB / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3635, allocations: 1.719 kB / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3635, allocations: 0 / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3635, allocations: 0 / 0.5094 GB, free: 36.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3636, allocations: 28.81 kB / 0.5094 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.3639, allocations: 280.4 kB / 0.5096 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3641, allocations: 38.98 kB / 0.5097 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.3641, allocations: 17.86 kB / 0.5097 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3641, allocations: 6.812 kB / 0.5097 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.3642, allocations: 42.5 kB / 0.5097 GB, free: 35.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3642, allocations: 0 / 0.5097 GB, free: 35.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000488/0.3647, allocations: 138 kB / 0.5099 GB, free: 35.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.3647, allocations: 51.41 kB / 0.5099 GB, free: 35.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3648, allocations: 168.7 kB / 0.5101 GB, free: 35.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3648, allocations: 29.7 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.3649, allocations: 101.1 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.3649, allocations: 10.62 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.365, allocations: 16.5 kB / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.365, allocations: 325 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/0.3651, allocations: 19.09 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-05/0.3651, allocations: 14.61 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.3652, allocations: 48.67 kB / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3653, allocations: 3.234 kB / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001464/0.3654, allocations: 79.88 kB / 0.5107 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3654, allocations: 7.406 kB / 0.5107 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3654, allocations: 0 / 0.5107 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3655, allocations: 0 / 0.5107 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.3655, allocations: 18.77 kB / 0.5107 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3655, allocations: 3.984 kB / 0.5107 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.3656, allocations: 14.19 kB / 0.5108 GB, free: 35.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3656, allocations: 0 / 0.5108 GB, free: 35.11 MB / 378.7 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 5.92e-05/0.3656, allocations: 122.8 kB / 0.5109 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.3657, allocations: 6.844 kB / 0.5109 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.3659, allocations: 91.7 kB / 0.511 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3659, allocations: 0 / 0.511 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3659, allocations: 7.938 kB / 0.511 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3659, allocations: 0 / 0.511 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.3662, allocations: 349.2 kB / 0.5113 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3663, allocations: 3.406 kB / 0.5113 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.3663, allocations: 12.19 kB / 0.5113 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3663, allocations: 0 / 0.5113 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.3663, allocations: 0 / 0.5113 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3663, allocations: 7.875 kB / 0.5113 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3663, allocations: 10.84 kB / 0.5113 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.3667, allocations: 0.7478 MB / 0.5121 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.3668, allocations: 86.98 kB / 0.5121 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3668, allocations: 0 / 0.5121 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.3669, allocations: 11.84 kB / 0.5122 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3669, allocations: 7.141 kB / 0.5122 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3669, allocations: 4 kB / 0.5122 GB, free: 33.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.107e-05/0.367, allocations: 126.1 kB / 0.5123 GB, free: 33.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.367, allocations: 0 / 0.5123 GB, free: 33.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.3674, allocations: 21.98 kB / 0.5123 GB, free: 33.64 MB / 378.7 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.0008928/0.3682, allocations: 399 kB / 0.5127 GB, free: 33.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.3684, allocations: 47.41 kB / 0.5127 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3684, allocations: 0 / 0.5127 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.876e-05/0.3685, allocations: 30.34 kB / 0.5128 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3689, allocations: 18.73 kB / 0.5128 GB, free: 33.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.3693, allocations: 324.4 kB / 0.5131 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3695, allocations: 0.6974 MB / 0.5138 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.149e-05/0.3695, allocations: 5.906 kB / 0.5138 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.3696, allocations: 10.25 kB / 0.5138 GB, free: 32.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3696, allocations: 0 / 0.5138 GB, free: 32.43 MB / 378.7 MB Notification: Performance of Templates: time 0.003525/0.3731, allocations: 1.072 MB / 0.5148 GB, free: 32.28 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches