Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, 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.28/1.28, 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.001048/0.001048, allocations: 100.8 kB / 291.9 MB, free: 10.96 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.4026/0.4026, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001139, allocations: 55.92 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3839, allocations: 60.8 MB / 0.5064 GB, free: 38.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003347/0.3873, allocations: 1.695 MB / 0.508 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009132/0.3882, allocations: 460 kB / 0.5085 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.3883, allocations: 1.469 kB / 0.5085 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.3889, allocations: 450.7 kB / 0.5089 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.3892, allocations: 236.9 kB / 0.5091 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.3897, allocations: 164.7 kB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.3899, allocations: 168 kB / 0.5095 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.39, allocations: 23.06 kB / 0.5095 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3901, allocations: 104.5 kB / 0.5096 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.3904, allocations: 207.6 kB / 0.5098 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.3904, allocations: 2.844 kB / 0.5098 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.785e-05/0.3905, allocations: 41.5 kB / 0.5098 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3906, allocations: 90.78 kB / 0.5099 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.894e-05/0.3907, allocations: 107.2 kB / 0.51 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.391, allocations: 261 kB / 0.5103 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.391, allocations: 3.938 kB / 0.5103 GB, free: 36.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.391, allocations: 0 / 0.5103 GB, free: 36.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.391, allocations: 0 / 0.5103 GB, free: 36.24 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.0006532/0.3917, allocations: 0.6389 MB / 0.5109 GB, free: 35.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3917, allocations: 11.5 kB / 0.5109 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.3918, allocations: 41.56 kB / 0.5109 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.392, allocations: 298.6 kB / 0.5112 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3921, allocations: 3.344 kB / 0.5112 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3921, allocations: 7.125 kB / 0.5112 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.3923, allocations: 65.61 kB / 0.5113 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3923, allocations: 0 / 0.5113 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3923, allocations: 0 / 0.5113 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3923, allocations: 3.219 kB / 0.5113 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3924, allocations: 32.02 kB / 0.5113 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.3929, allocations: 412 kB / 0.5117 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3931, allocations: 43.39 kB / 0.5118 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.3931, allocations: 19.73 kB / 0.5118 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3931, allocations: 0 / 0.5118 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.3932, allocations: 43.92 kB / 0.5118 GB, free: 34.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3932, allocations: 0 / 0.5118 GB, free: 34.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009238/0.3941, allocations: 311.1 kB / 0.5121 GB, free: 34.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.3941, allocations: 55.34 kB / 0.5122 GB, free: 34.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.3948, allocations: 0.8659 MB / 0.513 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3949, allocations: 25.7 kB / 0.513 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.395, allocations: 219.3 kB / 0.5132 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.395, allocations: 33.91 kB / 0.5133 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.3951, allocations: 19.03 kB / 0.5133 GB, free: 34.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3952, allocations: 363.3 kB / 0.5136 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.3953, allocations: 27.2 kB / 0.5137 GB, free: 33.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.3953, allocations: 34.23 kB / 0.5137 GB, free: 33.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3955, allocations: 80.56 kB / 0.5138 GB, free: 33.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3955, allocations: 0 / 0.5138 GB, free: 33.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002142/0.3957, allocations: 154.3 kB / 0.5139 GB, free: 33.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3957, allocations: 2.938 kB / 0.5139 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3958, allocations: 3.453 kB / 0.5139 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3958, allocations: 0 / 0.5139 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.3959, allocations: 21.52 kB / 0.514 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.3959, allocations: 3.938 kB / 0.514 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.396, allocations: 2.594 kB / 0.514 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.396, allocations: 6.781 kB / 0.514 GB, free: 33.64 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 (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.0001519/0.3961, allocations: 215.8 kB / 0.5142 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.3962, allocations: 45.16 kB / 0.5142 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.3965, allocations: 174.2 kB / 0.5144 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3965, allocations: 1.125 kB / 0.5144 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3965, allocations: 3.938 kB / 0.5144 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3965, allocations: 1.219 kB / 0.5144 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/0.3971, allocations: 0.508 MB / 0.5149 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3972, allocations: 3.938 kB / 0.5149 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.3972, allocations: 25.39 kB / 0.5149 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3972, allocations: 1.094 kB / 0.5149 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3972, allocations: 1.094 kB / 0.5149 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3973, allocations: 4.969 kB / 0.5149 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3973, allocations: 1.094 kB / 0.5149 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.3978, allocations: 0.9161 MB / 0.5158 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.3979, allocations: 112 kB / 0.5159 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.3979, allocations: 4 kB / 0.5159 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.398, allocations: 6.203 kB / 0.5159 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.398, allocations: 6.141 kB / 0.5159 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.398, allocations: 6.875 kB / 0.5159 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000475/0.3985, allocations: 0.6523 MB / 0.5166 GB, free: 31.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3985, allocations: 7.938 kB / 0.5166 GB, free: 31.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.3989, allocations: 29.94 kB / 0.5166 GB, free: 31.8 MB / 378.7 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.0009418/0.3998, allocations: 460.5 kB / 0.5171 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.4001, allocations: 77.16 kB / 0.5171 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4001, allocations: 1.125 kB / 0.5171 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.4002, allocations: 38.94 kB / 0.5172 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.4006, allocations: 26.06 kB / 0.5172 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.4017, allocations: 1.048 MB / 0.5182 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.402, allocations: 0.8311 MB / 0.519 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.384e-05/0.4021, allocations: 21.33 kB / 0.519 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.4021, allocations: 13.59 kB / 0.5191 GB, free: 30.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4021, allocations: 0 / 0.5191 GB, free: 30.22 MB / 378.7 MB Notification: Performance of Templates: time 0.004757/0.4069, allocations: 1.698 MB / 0.5207 GB, free: 30.02 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches