Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001801/0.001802, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2264/0.2264, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1607, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5959, allocations: 86.32 MB / 0.563 GB, free: 13.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5962, allocations: 68.16 kB / 0.5631 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008323/0.6045, allocations: 2.778 MB / 0.5658 GB, free: 11.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6045, allocations: 0 / 0.5658 GB, free: 11.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.6045, allocations: 0 / 0.5658 GB, free: 11.06 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003482/0.6049, allocations: 377 kB / 0.5662 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.605, allocations: 8.031 kB / 0.5662 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.605, allocations: 3.953 kB / 0.5662 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.88e-05/0.6051, allocations: 171 kB / 0.5664 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.6051, allocations: 3.125 kB / 0.5664 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.6051, allocations: 4 kB / 0.5664 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.853e-05/0.6052, allocations: 26.39 kB / 0.5664 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6052, allocations: 7.938 kB / 0.5664 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.6053, allocations: 0 / 0.5664 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6053, allocations: 0 / 0.5664 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.6053, allocations: 3.953 kB / 0.5664 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.6054, allocations: 149.6 kB / 0.5665 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.6055, allocations: 26.48 kB / 0.5666 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-06/0.6055, allocations: 4 kB / 0.5666 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.6055, allocations: 56.27 kB / 0.5666 GB, free: 10.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.6055, allocations: 0 / 0.5666 GB, free: 10.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001679/0.6057, allocations: 59.47 kB / 0.5667 GB, free: 10 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.6058, allocations: 81.09 kB / 0.5668 GB, free: 9.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.133e-05/0.6058, allocations: 92.19 kB / 0.5668 GB, free: 9.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.6059, allocations: 25.7 kB / 0.5669 GB, free: 9.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.6059, allocations: 84.27 kB / 0.5669 GB, free: 9.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.6059, allocations: 3.984 kB / 0.567 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.6059, allocations: 3.938 kB / 0.567 GB, free: 9.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6061, allocations: 317.3 kB / 0.5673 GB, free: 9.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.6061, allocations: 0 / 0.5673 GB, free: 9.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-06/0.6061, allocations: 4 kB / 0.5673 GB, free: 9.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.6062, allocations: 25.7 kB / 0.5673 GB, free: 9.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6062, allocations: 0 / 0.5673 GB, free: 9.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.27e-05/0.6062, allocations: 72.95 kB / 0.5674 GB, free: 9.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.6063, allocations: 32.36 kB / 0.5674 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6063, allocations: 0 / 0.5674 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.6063, allocations: 0 / 0.5674 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.6063, allocations: 4 kB / 0.5674 GB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6063, allocations: 0 / 0.5674 GB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.6063, allocations: 0 / 0.5674 GB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.6064, allocations: 0 / 0.5674 GB, free: 9.219 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.6065, allocations: 147.1 kB / 0.5675 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.6065, allocations: 3.984 kB / 0.5675 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.6065, allocations: 7.156 kB / 0.5675 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.6065, allocations: 3.938 kB / 0.5675 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6065, allocations: 0 / 0.5675 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.6065, allocations: 0 / 0.5675 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.6067, allocations: 153.2 kB / 0.5677 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.6067, allocations: 3.938 kB / 0.5677 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.6067, allocations: 0 / 0.5677 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.6067, allocations: 0 / 0.5677 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.6067, allocations: 3.984 kB / 0.5677 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6067, allocations: 0.875 kB / 0.5677 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6067, allocations: 4 kB / 0.5677 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.781e-05/0.6068, allocations: 90.36 kB / 0.5678 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.6069, allocations: 81.09 kB / 0.5679 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.6069, allocations: 4 kB / 0.5679 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.6069, allocations: 0 / 0.5679 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.6069, allocations: 3.938 kB / 0.5679 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.607, allocations: 4 kB / 0.5679 GB, free: 8.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.953e-05/0.607, allocations: 79.31 kB / 0.568 GB, free: 8.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.607, allocations: 0 / 0.568 GB, free: 8.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.6073, allocations: 83.48 kB / 0.568 GB, free: 8.461 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/0.6078, allocations: 207.2 kB / 0.5682 GB, free: 8.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.869e-05/0.6079, allocations: 55.41 kB / 0.5683 GB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6079, allocations: 0 / 0.5683 GB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/0.6079, allocations: 55.41 kB / 0.5683 GB, free: 8.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.208e-05/0.608, allocations: 16.52 kB / 0.5684 GB, free: 8.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.6082, allocations: 71.44 kB / 0.5684 GB, free: 8.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.6085, allocations: 0.6809 MB / 0.5691 GB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.35e-06/0.6085, allocations: 0 / 0.5691 GB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.132e-05/0.6085, allocations: 7.438 kB / 0.5691 GB, free: 7.297 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6085, allocations: 0 / 0.5691 GB, free: 7.297 MB / 378.7 MB Notification: Performance of Templates: time 0.003828/0.6123, allocations: 1.449 MB / 0.5705 GB, free: 5.859 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches