Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, 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.0009676/0.0009676, allocations: 98.31 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.3353/0.3353, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 55.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3928, allocations: 60.8 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003516/0.3964, allocations: 1.617 MB / 0.508 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007909/0.3972, allocations: 412.8 kB / 0.5084 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.523e-05/0.3973, allocations: 3.938 kB / 0.5084 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.3975, allocations: 22.52 kB / 0.5084 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.3977, allocations: 26.44 kB / 0.5084 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.3981, allocations: 95.22 kB / 0.5085 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3983, allocations: 48.22 kB / 0.5085 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3984, allocations: 27.5 kB / 0.5086 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.3985, allocations: 18.89 kB / 0.5086 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.3985, allocations: 20.56 kB / 0.5086 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3986, allocations: 2.5 kB / 0.5086 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.95e-05/0.3987, allocations: 24.09 kB / 0.5086 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.3987, allocations: 17.05 kB / 0.5087 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.3988, allocations: 25.47 kB / 0.5087 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.399, allocations: 67.23 kB / 0.5087 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.399, allocations: 6.844 kB / 0.5087 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.399, allocations: 4 kB / 0.5088 GB, free: 36.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.399, allocations: 0 / 0.5088 GB, free: 36.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004365/0.3994, allocations: 389.2 kB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3995, allocations: 9.344 kB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.992e-05/0.3995, allocations: 10.62 kB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3997, allocations: 195.8 kB / 0.5093 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.3997, allocations: 384 / 0.5093 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3997, allocations: 3.219 kB / 0.5093 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3999, allocations: 49.98 kB / 0.5094 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3999, allocations: 0 / 0.5094 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3999, allocations: 0 / 0.5094 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3999, allocations: 2.469 kB / 0.5094 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.684e-05/0.4, allocations: 27.03 kB / 0.5094 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.4004, allocations: 281.9 kB / 0.5097 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.4006, allocations: 47.7 kB / 0.5097 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.4007, allocations: 21.81 kB / 0.5097 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.4007, allocations: 2.438 kB / 0.5097 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.4007, allocations: 34.5 kB / 0.5098 GB, free: 35.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.4007, allocations: 0 / 0.5098 GB, free: 35.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005499/0.4013, allocations: 152.4 kB / 0.5099 GB, free: 35.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.4013, allocations: 51.41 kB / 0.51 GB, free: 35.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.4014, allocations: 150.6 kB / 0.5101 GB, free: 35.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.4015, allocations: 25.7 kB / 0.5101 GB, free: 35.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.4015, allocations: 97.27 kB / 0.5102 GB, free: 35.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.4015, allocations: 19.22 kB / 0.5103 GB, free: 35.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.4016, allocations: 19.34 kB / 0.5103 GB, free: 35.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.4017, allocations: 329.3 kB / 0.5106 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.4017, allocations: 18.62 kB / 0.5106 GB, free: 34.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.4018, allocations: 26.2 kB / 0.5106 GB, free: 34.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4019, allocations: 45.72 kB / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.402, allocations: 0 / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.4022, allocations: 97.25 kB / 0.5108 GB, free: 34.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4022, allocations: 11.53 kB / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4022, allocations: 0 / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4022, allocations: 0 / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.4023, allocations: 14.2 kB / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4023, allocations: 0 / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.4023, allocations: 6.906 kB / 0.5108 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.4023, allocations: 3.938 kB / 0.5108 GB, free: 34.8 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 (5): * Single equations (assignments): 5 * 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 6.883e-05/0.4024, allocations: 123.5 kB / 0.5109 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.4025, allocations: 9.656 kB / 0.5109 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.4027, allocations: 99 kB / 0.511 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4027, allocations: 2.812 kB / 0.511 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4027, allocations: 0 / 0.511 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4027, allocations: 0 / 0.511 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.403, allocations: 353 kB / 0.5114 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4031, allocations: 0 / 0.5114 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.4031, allocations: 15.88 kB / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4031, allocations: 0 / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.4031, allocations: 6.875 kB / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4031, allocations: 7.875 kB / 0.5114 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4032, allocations: 0 / 0.5114 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.4035, allocations: 0.7641 MB / 0.5121 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.4036, allocations: 79.73 kB / 0.5122 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.4036, allocations: 3.281 kB / 0.5122 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.4037, allocations: 2.906 kB / 0.5122 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.4037, allocations: 5.625 kB / 0.5122 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.4037, allocations: 2.781 kB / 0.5122 GB, free: 33.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.987e-05/0.4038, allocations: 123 kB / 0.5123 GB, free: 33.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4038, allocations: 0 / 0.5123 GB, free: 33.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003404/0.4042, allocations: 16 kB / 0.5124 GB, free: 33.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008828/0.4051, allocations: 410.3 kB / 0.5127 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.4053, allocations: 48.05 kB / 0.5128 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4053, allocations: 3.156 kB / 0.5128 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/0.4054, allocations: 28.62 kB / 0.5128 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.4058, allocations: 27.17 kB / 0.5128 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.4065, allocations: 318.6 kB / 0.5132 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.4067, allocations: 0.6951 MB / 0.5138 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.623e-05/0.4068, allocations: 20.92 kB / 0.5139 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.4068, allocations: 16.72 kB / 0.5139 GB, free: 32.12 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4068, allocations: 0 / 0.5139 GB, free: 32.12 MB / 378.7 MB Notification: Performance of Templates: time 0.003512/0.4103, allocations: 1.072 MB / 0.5149 GB, free: 31.98 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches