Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 102.5 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2131/0.2131, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 68.67 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.08819, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002818/0.09104, allocations: 1.596 MB / 443.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005366/0.09161, allocations: 331.4 kB / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.09168, allocations: 4 kB / 443.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.09212, allocations: 443.2 kB / 444.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.09242, allocations: 255.4 kB / 444.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.09272, allocations: 115.2 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.09292, allocations: 159.7 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.09303, allocations: 16.12 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.09313, allocations: 107.8 kB / 445 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.0933, allocations: 211.6 kB / 445.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.09332, allocations: 4 kB / 445.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.09341, allocations: 35.97 kB / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.09349, allocations: 79.7 kB / 445.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.09355, allocations: 103 kB / 445.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.09376, allocations: 243 kB / 445.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.09377, allocations: 4 kB / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09378, allocations: 0 / 445.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.0938, allocations: 0 / 445.6 MB, free: 2.469 MB / 318.1 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.0004946/0.09429, allocations: 0.6335 MB / 446.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.09433, allocations: 15.89 kB / 446.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.09439, allocations: 36.47 kB / 446.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.09459, allocations: 292.2 kB / 446.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.09461, allocations: 4.375 kB / 446.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.09463, allocations: 4.375 kB / 446.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.09476, allocations: 57.59 kB / 446.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.09478, allocations: 0 / 446.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.09479, allocations: 4 kB / 446.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.0948, allocations: 4 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.145e-05/0.09489, allocations: 27.92 kB / 446.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.09525, allocations: 380.7 kB / 447.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.09545, allocations: 46.55 kB / 447.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.0955, allocations: 16.88 kB / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.09553, allocations: 8 kB / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.09554, allocations: 38.5 kB / 447.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.09555, allocations: 0 / 447.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004889/0.09604, allocations: 219.9 kB / 447.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.09607, allocations: 51.41 kB / 447.4 MB, free: 480 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.09675, allocations: 0.8613 MB / 448.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.09678, allocations: 29.69 kB / 448.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.09694, allocations: 216.1 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.09697, allocations: 19.75 kB / 448.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.09702, allocations: 17.72 kB / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.09715, allocations: 358.8 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.09723, allocations: 19.98 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.09729, allocations: 19.98 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.09742, allocations: 49.02 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.09743, allocations: 4 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001933/0.09763, allocations: 117 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.09766, allocations: 4 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.09767, allocations: 3.938 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.09769, allocations: 4 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.09776, allocations: 11.98 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.09777, allocations: 4 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.09783, allocations: 7.938 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.09785, allocations: 0 / 449.2 MB, free: 14.7 MB / 334.1 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 0.0001791/0.09803, allocations: 217.7 kB / 449.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.0981, allocations: 43.44 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.09837, allocations: 133 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.09839, allocations: 4 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.0984, allocations: 4 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.09841, allocations: 3.938 kB / 449.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.09891, allocations: 446.5 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.09892, allocations: 0 / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.09898, allocations: 19.98 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.09899, allocations: 3.938 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.09901, allocations: 3.938 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.09902, allocations: 7.984 kB / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.09902, allocations: 0 / 450 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.09926, allocations: 211.2 kB / 450.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.09936, allocations: 108.5 kB / 450.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.09939, allocations: 7.938 kB / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.09948, allocations: 0 / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.09952, allocations: 11.98 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.09953, allocations: 0 / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005717/0.1001, allocations: 0.6472 MB / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1001, allocations: 3.938 kB / 451 MB, free: 12.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1004, allocations: 24 kB / 451 MB, free: 12.71 MB / 334.1 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.0009264/0.1013, allocations: 393.2 kB / 451.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1015, allocations: 55.91 kB / 451.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1015, allocations: 0 / 451.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.1016, allocations: 27.97 kB / 451.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.102, allocations: 21.25 kB / 451.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.1029, allocations: 0.7873 MB / 452.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1033, allocations: 0.8143 MB / 453.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.002e-05/0.1034, allocations: 11.98 kB / 453.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1034, allocations: 19.38 kB / 453.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1034, allocations: 0 / 453.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of Templates: time 0.004588/0.108, allocations: 1.449 MB / 454.6 MB, free: 9.18 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches