Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, 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.287/1.287, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.001228/0.001228, allocations: 109.2 kB / 291.9 MB, free: 10.91 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.3377/0.3377, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 47.92 kB / 457.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4066, allocations: 60.81 MB / 0.5064 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002996/0.4096, allocations: 1.695 MB / 0.508 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006675/0.4103, allocations: 424.7 kB / 0.5084 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.4104, allocations: 1.031 kB / 0.5085 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.4106, allocations: 54.06 kB / 0.5085 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.4108, allocations: 39.17 kB / 0.5085 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.4111, allocations: 116.4 kB / 0.5087 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.4112, allocations: 77 kB / 0.5087 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.4113, allocations: 20.12 kB / 0.5087 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.4114, allocations: 22.94 kB / 0.5088 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.4115, allocations: 43.45 kB / 0.5088 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.4115, allocations: 2.875 kB / 0.5088 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.675e-05/0.4116, allocations: 43.98 kB / 0.5089 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.4116, allocations: 24.3 kB / 0.5089 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.4117, allocations: 30.94 kB / 0.5089 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.4118, allocations: 97.17 kB / 0.509 GB, free: 36.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4118, allocations: 4 kB / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.4119, allocations: 0 / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.4119, allocations: 0 / 0.509 GB, free: 36.62 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.0004217/0.4123, allocations: 407.1 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.4123, allocations: 8.719 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.4124, allocations: 7.844 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.4125, allocations: 195.3 kB / 0.5096 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.4125, allocations: 3.031 kB / 0.5096 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.4126, allocations: 6.906 kB / 0.5096 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4127, allocations: 78.3 kB / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4127, allocations: 0 / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.4128, allocations: 0 / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4128, allocations: 0 / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.4129, allocations: 35.19 kB / 0.5097 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.4132, allocations: 311.9 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.4135, allocations: 53.11 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.4135, allocations: 22.55 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.4136, allocations: 2.938 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.4136, allocations: 38.66 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4136, allocations: 3.938 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001268/0.4149, allocations: 371 kB / 0.5105 GB, free: 35.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.4149, allocations: 61.3 kB / 0.5105 GB, free: 35.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.4151, allocations: 174.5 kB / 0.5107 GB, free: 35.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.4151, allocations: 25.7 kB / 0.5107 GB, free: 35.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.4151, allocations: 100.9 kB / 0.5108 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.4152, allocations: 37.84 kB / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.4152, allocations: 21.81 kB / 0.5109 GB, free: 35.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.4153, allocations: 320.8 kB / 0.5112 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.4154, allocations: 45.78 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.4155, allocations: 44.64 kB / 0.5113 GB, free: 34.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.4158, allocations: 106.9 kB / 0.5114 GB, free: 34.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4158, allocations: 0 / 0.5114 GB, free: 34.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002724/0.416, allocations: 136.4 kB / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4161, allocations: 9.781 kB / 0.5115 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4161, allocations: 7.938 kB / 0.5115 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4161, allocations: 0 / 0.5115 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4162, allocations: 30.31 kB / 0.5115 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4162, allocations: 0 / 0.5115 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.4163, allocations: 13.36 kB / 0.5116 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4163, allocations: 3.625 kB / 0.5116 GB, free: 34.61 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 9.023e-05/0.4164, allocations: 126.8 kB / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.4165, allocations: 13.09 kB / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.4168, allocations: 159.6 kB / 0.5118 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4168, allocations: 11.92 kB / 0.5119 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4168, allocations: 0 / 0.5119 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4168, allocations: 2.812 kB / 0.5119 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.4174, allocations: 465.1 kB / 0.5123 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4174, allocations: 0 / 0.5123 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.045e-05/0.4175, allocations: 27.66 kB / 0.5123 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4175, allocations: 10.72 kB / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.4176, allocations: 6.875 kB / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4176, allocations: 0 / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4176, allocations: 64 / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.4182, allocations: 0.8499 MB / 0.5132 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.4183, allocations: 87.2 kB / 0.5133 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.4183, allocations: 2.875 kB / 0.5133 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.4184, allocations: 13.16 kB / 0.5133 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.4184, allocations: 10.2 kB / 0.5133 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.4184, allocations: 5.812 kB / 0.5133 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.625e-05/0.4185, allocations: 128.7 kB / 0.5134 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4185, allocations: 0 / 0.5134 GB, free: 33.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.4189, allocations: 35.12 kB / 0.5134 GB, free: 33.01 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.0009455/0.4198, allocations: 455.8 kB / 0.5139 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.4201, allocations: 108.7 kB / 0.514 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4202, allocations: 0 / 0.514 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.4203, allocations: 61.14 kB / 0.514 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.4206, allocations: 19.2 kB / 0.5141 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.4211, allocations: 425 kB / 0.5145 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.4213, allocations: 0.7088 MB / 0.5152 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.367e-05/0.4214, allocations: 20.02 kB / 0.5152 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.4214, allocations: 13.06 kB / 0.5152 GB, free: 31.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4214, allocations: 0 / 0.5152 GB, free: 31.68 MB / 378.7 MB Notification: Performance of Templates: time 0.003915/0.4254, allocations: 1.47 MB / 0.5166 GB, free: 31.51 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches