Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, 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.461/1.461, 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.001034/0.001034, allocations: 104.4 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.3332/0.3332, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 59.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4, allocations: 60.8 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.004147/0.4043, allocations: 1.64 MB / 0.508 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.4053, allocations: 399.7 kB / 0.5084 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.4053, allocations: 0 / 0.5084 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.4058, allocations: 126.7 kB / 0.5085 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.4061, allocations: 80.47 kB / 0.5086 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.4064, allocations: 78.62 kB / 0.5086 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.4067, allocations: 86.86 kB / 0.5087 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.4068, allocations: 12.84 kB / 0.5087 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.766e-05/0.4069, allocations: 42.16 kB / 0.5088 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.4071, allocations: 87.58 kB / 0.5089 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.4071, allocations: 6.844 kB / 0.5089 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.4073, allocations: 40.91 kB / 0.5089 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.4073, allocations: 30.11 kB / 0.5089 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.4074, allocations: 29.34 kB / 0.509 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.4076, allocations: 108.3 kB / 0.5091 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.4077, allocations: 2.781 kB / 0.5091 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4077, allocations: 0 / 0.5091 GB, free: 36.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.4077, allocations: 0 / 0.5091 GB, free: 36.61 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.0005716/0.4083, allocations: 433 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4083, allocations: 8.875 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.4084, allocations: 14.62 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.4086, allocations: 223.3 kB / 0.5097 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4086, allocations: 384 / 0.5097 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.4087, allocations: 3.156 kB / 0.5097 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.4089, allocations: 59.33 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4089, allocations: 0 / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4089, allocations: 4 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.409, allocations: 0 / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.4091, allocations: 23.45 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.4095, allocations: 309.7 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4097, allocations: 38.3 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.4098, allocations: 21.92 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.4098, allocations: 2.344 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4098, allocations: 30.56 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.4098, allocations: 0 / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001153/0.411, allocations: 231.1 kB / 0.5104 GB, free: 35.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.4111, allocations: 51.41 kB / 0.5105 GB, free: 35.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.4114, allocations: 274.3 kB / 0.5107 GB, free: 35.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4114, allocations: 29.7 kB / 0.5107 GB, free: 35.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.4115, allocations: 111.4 kB / 0.5109 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.4115, allocations: 25.7 kB / 0.5109 GB, free: 35.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.4116, allocations: 23.22 kB / 0.5109 GB, free: 35.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.4117, allocations: 334.9 kB / 0.5112 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4118, allocations: 21.33 kB / 0.5112 GB, free: 34.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.294e-05/0.4119, allocations: 29.17 kB / 0.5113 GB, free: 34.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.4121, allocations: 62.75 kB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4121, allocations: 0 / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002812/0.4124, allocations: 109.6 kB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4124, allocations: 7.031 kB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.4124, allocations: 0 / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4125, allocations: 0 / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.4126, allocations: 20.12 kB / 0.5115 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4126, allocations: 10.94 kB / 0.5115 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.4127, allocations: 5.406 kB / 0.5115 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4127, allocations: 2.562 kB / 0.5115 GB, free: 34.59 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.0001065/0.4128, allocations: 132.5 kB / 0.5116 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.4129, allocations: 17.44 kB / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.4132, allocations: 120.8 kB / 0.5117 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4133, allocations: 2.969 kB / 0.5117 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4133, allocations: 4.359 kB / 0.5117 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4133, allocations: 0 / 0.5117 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.4139, allocations: 407.7 kB / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4139, allocations: 0 / 0.5121 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.414, allocations: 23.5 kB / 0.5122 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.414, allocations: 2.5 kB / 0.5122 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4141, allocations: 11.22 kB / 0.5122 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4141, allocations: 2.594 kB / 0.5122 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4141, allocations: 0 / 0.5122 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.4147, allocations: 0.7986 MB / 0.5129 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.4147, allocations: 87.89 kB / 0.513 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4147, allocations: 7.281 kB / 0.513 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4149, allocations: 5.812 kB / 0.513 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.4149, allocations: 14.11 kB / 0.5131 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.415, allocations: 2.688 kB / 0.5131 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001984/0.4152, allocations: 200.4 kB / 0.5133 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4152, allocations: 0 / 0.5133 GB, free: 33.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000618/0.4158, allocations: 25.81 kB / 0.5133 GB, free: 33.03 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.001443/0.4173, allocations: 453.4 kB / 0.5137 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.4175, allocations: 71.98 kB / 0.5138 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4176, allocations: 3.938 kB / 0.5138 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.4177, allocations: 31.73 kB / 0.5138 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.4182, allocations: 20.06 kB / 0.5138 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.4189, allocations: 470.3 kB / 0.5143 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.4191, allocations: 0.7176 MB / 0.515 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.4192, allocations: 9.453 kB / 0.515 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.4192, allocations: 12.62 kB / 0.515 GB, free: 31.71 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4192, allocations: 0 / 0.515 GB, free: 31.71 MB / 378.7 MB Notification: Performance of Templates: time 0.005034/0.4243, allocations: 1.323 MB / 0.5163 GB, free: 31.54 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches