Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, 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.394/1.394, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.0009758/0.0009761, allocations: 111.5 kB / 291.9 MB, free: 10.94 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.3218/0.3218, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 51.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3488, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003057/0.3519, allocations: 1.676 MB / 0.508 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3534, allocations: 1.048 MB / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.3535, allocations: 0 / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.3537, allocations: 16.81 kB / 0.5091 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.3539, allocations: 36.8 kB / 0.5091 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.3543, allocations: 161.2 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3545, allocations: 66.03 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3546, allocations: 15.34 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.3547, allocations: 30.06 kB / 0.5094 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.3548, allocations: 30.17 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3549, allocations: 2.719 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.355, allocations: 49.88 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.355, allocations: 20.58 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.3551, allocations: 18.53 kB / 0.5095 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.3553, allocations: 103.3 kB / 0.5096 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3553, allocations: 0 / 0.5096 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3553, allocations: 0 / 0.5096 GB, free: 36.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.3553, allocations: 0 / 0.5096 GB, free: 36.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005196/0.3558, allocations: 393.6 kB / 0.51 GB, free: 35.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3559, allocations: 8.469 kB / 0.51 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.3559, allocations: 10.53 kB / 0.51 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.3561, allocations: 188.6 kB / 0.5101 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3561, allocations: 2.875 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3561, allocations: 10.91 kB / 0.5102 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3563, allocations: 76.55 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3564, allocations: 3.938 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3564, allocations: 2.5 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3564, allocations: 0 / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.3565, allocations: 46.73 kB / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.3569, allocations: 306 kB / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3571, allocations: 45.97 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.3571, allocations: 31.59 kB / 0.5107 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3572, allocations: 6.859 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3572, allocations: 30.56 kB / 0.5107 GB, free: 35.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3572, allocations: 0 / 0.5107 GB, free: 35.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007425/0.3579, allocations: 218.9 kB / 0.5109 GB, free: 34.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.358, allocations: 79.73 kB / 0.511 GB, free: 34.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3581, allocations: 142.8 kB / 0.5111 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3581, allocations: 25.7 kB / 0.5111 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.3582, allocations: 97.19 kB / 0.5112 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.3582, allocations: 25.56 kB / 0.5112 GB, free: 34.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.3583, allocations: 19.48 kB / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.3583, allocations: 326.1 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3585, allocations: 41.53 kB / 0.5116 GB, free: 34.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3586, allocations: 51.48 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.3588, allocations: 93.7 kB / 0.5118 GB, free: 34.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3588, allocations: 4 kB / 0.5118 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002507/0.359, allocations: 121.2 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3591, allocations: 3.031 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3591, allocations: 2.75 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3591, allocations: 0 / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3592, allocations: 21 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3592, allocations: 4 kB / 0.5119 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.3593, allocations: 13.05 kB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3593, allocations: 2.875 kB / 0.5119 GB, free: 34.15 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 (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 7.424e-05/0.3594, allocations: 120.2 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.3594, allocations: 6.688 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.3598, allocations: 143.4 kB / 0.5122 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3598, allocations: 2.562 kB / 0.5122 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3598, allocations: 0 / 0.5122 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3598, allocations: 7.219 kB / 0.5122 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.3602, allocations: 401.4 kB / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3603, allocations: 0 / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.3603, allocations: 21.23 kB / 0.5126 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3603, allocations: 0 / 0.5126 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3604, allocations: 14.12 kB / 0.5126 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3604, allocations: 0 / 0.5126 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3604, allocations: 0 / 0.5126 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.3609, allocations: 0.828 MB / 0.5134 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.361, allocations: 80.02 kB / 0.5135 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.361, allocations: 0 / 0.5135 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.3611, allocations: 9.109 kB / 0.5135 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3611, allocations: 10.19 kB / 0.5135 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3612, allocations: 2.906 kB / 0.5135 GB, free: 32.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.379e-05/0.3612, allocations: 106.8 kB / 0.5136 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3612, allocations: 7.938 kB / 0.5136 GB, free: 32.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.3616, allocations: 25.59 kB / 0.5136 GB, free: 32.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 (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.0009342/0.3625, allocations: 440.5 kB / 0.5141 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.3628, allocations: 92.77 kB / 0.5142 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3628, allocations: 0 / 0.5142 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.363, allocations: 44.16 kB / 0.5142 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3633, allocations: 27.86 kB / 0.5142 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.3638, allocations: 353.4 kB / 0.5146 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.364, allocations: 0.701 MB / 0.5152 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.329e-05/0.3641, allocations: 29.8 kB / 0.5153 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.3641, allocations: 17.25 kB / 0.5153 GB, free: 31.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3641, allocations: 0 / 0.5153 GB, free: 31.38 MB / 378.7 MB Notification: Performance of Templates: time 0.004225/0.3683, allocations: 1.47 MB / 0.5167 GB, free: 31.21 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches