Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, 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.294/1.294, allocations: 222.9 MB / 241.6 MB, free: 11 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.001239/0.001239, allocations: 87.75 kB / 291.8 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.3405/0.3405, allocations: 44.12 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 55.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3657, allocations: 60.8 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.00293/0.3687, allocations: 1.695 MB / 0.508 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007161/0.3694, allocations: 423.6 kB / 0.5084 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.3695, allocations: 1.938 kB / 0.5084 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3697, allocations: 49.05 kB / 0.5085 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.3699, allocations: 34.08 kB / 0.5085 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.3702, allocations: 125.8 kB / 0.5086 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3703, allocations: 73.42 kB / 0.5087 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3705, allocations: 20.52 kB / 0.5087 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.3705, allocations: 26.75 kB / 0.5088 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.3706, allocations: 36.88 kB / 0.5088 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3706, allocations: 2.938 kB / 0.5088 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.3707, allocations: 47.34 kB / 0.5088 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.3708, allocations: 23.3 kB / 0.5089 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.3708, allocations: 25.91 kB / 0.5089 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.371, allocations: 97.31 kB / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.371, allocations: 6.875 kB / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.371, allocations: 0 / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.371, allocations: 0 / 0.509 GB, free: 36.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004449/0.3715, allocations: 405.1 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3715, allocations: 10.12 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.3715, allocations: 11.84 kB / 0.5094 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3717, allocations: 191.4 kB / 0.5096 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.3717, allocations: 3.344 kB / 0.5096 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3717, allocations: 7.25 kB / 0.5096 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3719, allocations: 69.27 kB / 0.5097 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3719, allocations: 4 kB / 0.5097 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3719, allocations: 0 / 0.5097 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3719, allocations: 2.406 kB / 0.5097 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3721, allocations: 36.64 kB / 0.5097 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.3724, allocations: 303.2 kB / 0.51 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3726, allocations: 65.59 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/0.3727, allocations: 25.97 kB / 0.5101 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.3727, allocations: 0 / 0.5101 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.3727, allocations: 34.56 kB / 0.5101 GB, free: 35.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.3727, allocations: 0 / 0.5101 GB, free: 35.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001278/0.374, allocations: 381.3 kB / 0.5105 GB, free: 35.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.3741, allocations: 55.34 kB / 0.5105 GB, free: 35.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3742, allocations: 174.6 kB / 0.5107 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-06/0.3742, allocations: 29.64 kB / 0.5107 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.3742, allocations: 97.95 kB / 0.5108 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.3743, allocations: 36.89 kB / 0.5108 GB, free: 34.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3743, allocations: 25.84 kB / 0.5109 GB, free: 34.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.3744, allocations: 321.2 kB / 0.5112 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3745, allocations: 50.41 kB / 0.5112 GB, free: 34.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.97e-05/0.3746, allocations: 40.23 kB / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.3748, allocations: 100.6 kB / 0.5114 GB, free: 34.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3748, allocations: 0 / 0.5114 GB, free: 34.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002542/0.3751, allocations: 134.1 kB / 0.5115 GB, free: 34.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3751, allocations: 10.62 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3751, allocations: 0 / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3751, allocations: 3 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.3752, allocations: 35.86 kB / 0.5115 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3753, allocations: 6.938 kB / 0.5115 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.3753, allocations: 13.03 kB / 0.5116 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3753, allocations: 2.844 kB / 0.5116 GB, free: 34.5 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 (11): * Single equations (assignments): 11 * 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 6.695e-05/0.3754, allocations: 123.2 kB / 0.5117 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.3754, allocations: 6.5 kB / 0.5117 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.3758, allocations: 166.3 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3758, allocations: 6.781 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3758, allocations: 0.5625 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3758, allocations: 0 / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.3763, allocations: 467.1 kB / 0.5123 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3763, allocations: 6.844 kB / 0.5123 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.3764, allocations: 30.02 kB / 0.5123 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3764, allocations: 0 / 0.5123 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3764, allocations: 6.938 kB / 0.5123 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3764, allocations: 0 / 0.5123 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3764, allocations: 2.812 kB / 0.5123 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.377, allocations: 0.8512 MB / 0.5132 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.377, allocations: 84.02 kB / 0.5132 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.377, allocations: 4 kB / 0.5133 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.3771, allocations: 17.16 kB / 0.5133 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.3772, allocations: 16.3 kB / 0.5133 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3772, allocations: 2.906 kB / 0.5133 GB, free: 33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.46e-05/0.3773, allocations: 128.8 kB / 0.5134 GB, free: 32.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3773, allocations: 0 / 0.5134 GB, free: 32.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.3776, allocations: 32.78 kB / 0.5134 GB, free: 32.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009044/0.3785, allocations: 456.5 kB / 0.5139 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3788, allocations: 111.1 kB / 0.514 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3788, allocations: 0 / 0.514 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.379, allocations: 59.33 kB / 0.514 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3793, allocations: 19.52 kB / 0.5141 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.3798, allocations: 429.9 kB / 0.5145 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.3799, allocations: 0.7085 MB / 0.5152 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.207e-05/0.38, allocations: 20.97 kB / 0.5152 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.38, allocations: 16.39 kB / 0.5152 GB, free: 31.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3801, allocations: 0 / 0.5152 GB, free: 31.57 MB / 378.7 MB Notification: Performance of Templates: time 0.003513/0.3836, allocations: 1.454 MB / 0.5166 GB, free: 31.41 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches