Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, 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.368/1.368, allocations: 222.9 MB / 241.6 MB, free: 10.96 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.001059/0.001059, allocations: 100.5 kB / 291.9 MB, free: 10.93 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.3873/0.3873, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009517/0.0009519, allocations: 51.92 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4089, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003263/0.4122, allocations: 1.694 MB / 0.508 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007782/0.413, allocations: 439.8 kB / 0.5085 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.4132, allocations: 0 / 0.5085 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.4137, allocations: 442.6 kB / 0.5089 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.4141, allocations: 247.7 kB / 0.5091 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.4144, allocations: 115.3 kB / 0.5092 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.4146, allocations: 169 kB / 0.5094 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4148, allocations: 15.16 kB / 0.5094 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4149, allocations: 106.5 kB / 0.5095 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.4151, allocations: 200 kB / 0.5097 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.4151, allocations: 6.844 kB / 0.5097 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.4152, allocations: 49.5 kB / 0.5098 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.4153, allocations: 78.45 kB / 0.5098 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/0.4154, allocations: 111.2 kB / 0.5099 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.4156, allocations: 249.8 kB / 0.5102 GB, free: 36.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4157, allocations: 0 / 0.5102 GB, free: 36.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4157, allocations: 0 / 0.5102 GB, free: 36.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.4157, allocations: 0 / 0.5102 GB, free: 36.43 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.0006004/0.4163, allocations: 0.6377 MB / 0.5108 GB, free: 35.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4163, allocations: 12.56 kB / 0.5108 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.4164, allocations: 47.73 kB / 0.5109 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.4166, allocations: 285.7 kB / 0.5111 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4166, allocations: 3.438 kB / 0.5111 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.4167, allocations: 11.66 kB / 0.5111 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.4168, allocations: 63.06 kB / 0.5112 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4168, allocations: 3.984 kB / 0.5112 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4168, allocations: 0 / 0.5112 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4169, allocations: 0 / 0.5112 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.417, allocations: 35.88 kB / 0.5112 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.4174, allocations: 398.6 kB / 0.5116 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.4175, allocations: 42.47 kB / 0.5117 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.4176, allocations: 17.44 kB / 0.5117 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.4176, allocations: 2.625 kB / 0.5117 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.4177, allocations: 42.53 kB / 0.5117 GB, free: 35.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4177, allocations: 0 / 0.5117 GB, free: 35.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009387/0.4186, allocations: 295.1 kB / 0.512 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.4187, allocations: 61.88 kB / 0.5121 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.4193, allocations: 0.8576 MB / 0.5129 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.4194, allocations: 25.7 kB / 0.5129 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.4195, allocations: 218.3 kB / 0.5131 GB, free: 34.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.4195, allocations: 32.47 kB / 0.5132 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.4196, allocations: 19.53 kB / 0.5132 GB, free: 34.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.4197, allocations: 365.1 kB / 0.5135 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.4198, allocations: 18.94 kB / 0.5135 GB, free: 33.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.4198, allocations: 29.88 kB / 0.5136 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.42, allocations: 62.73 kB / 0.5136 GB, free: 33.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.42, allocations: 0 / 0.5136 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002029/0.4202, allocations: 133.6 kB / 0.5138 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4202, allocations: 4.594 kB / 0.5138 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4202, allocations: 5.047 kB / 0.5138 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4203, allocations: 8 kB / 0.5138 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4204, allocations: 13.69 kB / 0.5138 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4204, allocations: 8.625 kB / 0.5138 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.4204, allocations: 3.656 kB / 0.5138 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4204, allocations: 1.188 kB / 0.5138 GB, free: 33.85 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.0001806/0.4206, allocations: 214.3 kB / 0.514 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.4207, allocations: 47.47 kB / 0.5141 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.421, allocations: 158.1 kB / 0.5142 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.421, allocations: 1.094 kB / 0.5142 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.421, allocations: 8.969 kB / 0.5142 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.4211, allocations: 0 / 0.5142 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.4217, allocations: 0.5015 MB / 0.5147 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4217, allocations: 3.938 kB / 0.5147 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.4217, allocations: 17.8 kB / 0.5147 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4218, allocations: 1.125 kB / 0.5147 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-06/0.4218, allocations: 1.031 kB / 0.5147 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.4218, allocations: 8.438 kB / 0.5147 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4218, allocations: 0 / 0.5147 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.4223, allocations: 0.8942 MB / 0.5156 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.4223, allocations: 108.4 kB / 0.5157 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.4224, allocations: 0 / 0.5157 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.4224, allocations: 5.938 kB / 0.5157 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.4225, allocations: 10.14 kB / 0.5157 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.4225, allocations: 6.922 kB / 0.5157 GB, free: 32.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004923/0.423, allocations: 0.6541 MB / 0.5164 GB, free: 32.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.423, allocations: 3.938 kB / 0.5164 GB, free: 32.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.4234, allocations: 36.7 kB / 0.5164 GB, free: 32.02 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.0009669/0.4244, allocations: 454.6 kB / 0.5168 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.4246, allocations: 70.3 kB / 0.5169 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4246, allocations: 0 / 0.5169 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.4247, allocations: 32.61 kB / 0.5169 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.425, allocations: 30.95 kB / 0.517 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4261, allocations: 1.015 MB / 0.518 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.4263, allocations: 0.824 MB / 0.5188 GB, free: 30.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.4264, allocations: 19.47 kB / 0.5188 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.4264, allocations: 13.8 kB / 0.5188 GB, free: 30.46 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4265, allocations: 0 / 0.5188 GB, free: 30.46 MB / 378.7 MB Notification: Performance of Templates: time 0.004637/0.4311, allocations: 1.65 MB / 0.5204 GB, free: 30.26 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches