Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, 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.381/1.381, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001044/0.001044, allocations: 98.56 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.3381/0.3381, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 51.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4052, allocations: 60.8 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003541/0.4088, allocations: 1.696 MB / 0.508 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008612/0.4097, allocations: 450.4 kB / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.4097, allocations: 0 / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.41, allocations: 57.88 kB / 0.5085 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.4102, allocations: 54.89 kB / 0.5086 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.4107, allocations: 156 kB / 0.5087 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.4109, allocations: 82.41 kB / 0.5088 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.411, allocations: 26.8 kB / 0.5088 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.4111, allocations: 25.83 kB / 0.5089 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.4112, allocations: 49.75 kB / 0.5089 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.4112, allocations: 3 kB / 0.5089 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.4113, allocations: 44.34 kB / 0.509 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.4114, allocations: 29.72 kB / 0.509 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.4114, allocations: 32.61 kB / 0.509 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.4116, allocations: 102.8 kB / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4116, allocations: 0 / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.4116, allocations: 0 / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.4117, allocations: 4 kB / 0.5091 GB, free: 36.5 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.0004491/0.4121, allocations: 420.7 kB / 0.5095 GB, free: 36.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4122, allocations: 11.86 kB / 0.5095 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.4122, allocations: 10.47 kB / 0.5095 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.4124, allocations: 195.7 kB / 0.5097 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4124, allocations: 4.312 kB / 0.5097 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.4124, allocations: 3.125 kB / 0.5097 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.4126, allocations: 72.81 kB / 0.5098 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4127, allocations: 4 kB / 0.5098 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4127, allocations: 0 / 0.5098 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4127, allocations: 3.25 kB / 0.5098 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.4129, allocations: 45.67 kB / 0.5098 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.4133, allocations: 320 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.4136, allocations: 56.95 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.4137, allocations: 30 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.4137, allocations: 4.094 kB / 0.5102 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.4138, allocations: 34.5 kB / 0.5103 GB, free: 35.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.4138, allocations: 0 / 0.5103 GB, free: 35.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001704/0.4155, allocations: 418.2 kB / 0.5107 GB, free: 35.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.4155, allocations: 58.19 kB / 0.5107 GB, free: 35.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.4157, allocations: 183.8 kB / 0.5109 GB, free: 35.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.4157, allocations: 29.7 kB / 0.5109 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.4158, allocations: 105.2 kB / 0.511 GB, free: 34.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.4158, allocations: 37.8 kB / 0.5111 GB, free: 34.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.4159, allocations: 25.59 kB / 0.5111 GB, free: 34.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.416, allocations: 325.1 kB / 0.5114 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.4161, allocations: 50.55 kB / 0.5115 GB, free: 34.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.4163, allocations: 56.44 kB / 0.5115 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.4166, allocations: 131.5 kB / 0.5116 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4166, allocations: 0 / 0.5116 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003952/0.417, allocations: 168.4 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4171, allocations: 4.938 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4171, allocations: 0 / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4171, allocations: 0 / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.4173, allocations: 31 kB / 0.5118 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4173, allocations: 0 / 0.5118 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.4174, allocations: 14.64 kB / 0.5118 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.4174, allocations: 10.34 kB / 0.5118 GB, free: 34.43 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 8.061e-05/0.4175, allocations: 124.9 kB / 0.512 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.4175, allocations: 12.25 kB / 0.512 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004709/0.418, allocations: 185 kB / 0.5122 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.418, allocations: 7.219 kB / 0.5122 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.418, allocations: 0 / 0.5122 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.418, allocations: 3.938 kB / 0.5122 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/0.4188, allocations: 0.4992 MB / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.4188, allocations: 0 / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.419, allocations: 33.53 kB / 0.5127 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.419, allocations: 3.938 kB / 0.5127 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.419, allocations: 2.656 kB / 0.5127 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.419, allocations: 0 / 0.5127 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.419, allocations: 6.547 kB / 0.5127 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.4198, allocations: 0.8889 MB / 0.5136 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.4198, allocations: 94.11 kB / 0.5137 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.4198, allocations: 192 / 0.5137 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.42, allocations: 23.34 kB / 0.5137 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.42, allocations: 16.53 kB / 0.5137 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4201, allocations: 2.531 kB / 0.5137 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.4202, allocations: 139.8 kB / 0.5138 GB, free: 32.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4202, allocations: 2.812 kB / 0.5138 GB, free: 32.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005722/0.4208, allocations: 28.81 kB / 0.5139 GB, free: 32.79 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.001185/0.422, allocations: 453.9 kB / 0.5143 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004274/0.4224, allocations: 135.3 kB / 0.5144 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4224, allocations: 0 / 0.5144 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.4226, allocations: 64.17 kB / 0.5145 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.4231, allocations: 20.75 kB / 0.5145 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.4239, allocations: 479.3 kB / 0.515 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.424, allocations: 0.7231 MB / 0.5157 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.4242, allocations: 29.88 kB / 0.5157 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.4242, allocations: 18.56 kB / 0.5157 GB, free: 31.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4243, allocations: 0 / 0.5157 GB, free: 31.43 MB / 378.7 MB Notification: Performance of Templates: time 0.005057/0.4293, allocations: 1.543 MB / 0.5172 GB, free: 31.25 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches