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.001146/0.001146, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.485/1.485, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.00091/0.0009097, allocations: 82.61 kB / 267 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3389/0.3389, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.48e-05, allocations: 0 / 425.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 58.85 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4609, allocations: 86.23 MB / 0.557 GB, free: 17.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/0.4611, allocations: 64.02 kB / 0.5571 GB, free: 17.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00708/0.4682, allocations: 2.759 MB / 0.5598 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4682, allocations: 0 / 0.5598 GB, free: 15.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.4682, allocations: 0 / 0.5598 GB, free: 15.88 MB / 394.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.0002457/0.4685, allocations: 386.1 kB / 0.5601 GB, free: 15.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4685, allocations: 16.73 kB / 0.5601 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.4685, allocations: 0 / 0.5601 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.88e-05/0.4686, allocations: 159.9 kB / 0.5603 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4686, allocations: 0.5156 kB / 0.5603 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4686, allocations: 0 / 0.5603 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.928e-05/0.4687, allocations: 31.88 kB / 0.5603 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4687, allocations: 0.75 kB / 0.5603 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.4687, allocations: 0 / 0.5603 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4687, allocations: 0 / 0.5603 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.4688, allocations: 11.95 kB / 0.5603 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.294e-05/0.4688, allocations: 151.4 kB / 0.5605 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.328e-05/0.4689, allocations: 15.19 kB / 0.5605 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.077e-05/0.4689, allocations: 8.953 kB / 0.5605 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-06/0.4689, allocations: 0 / 0.5605 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.469, allocations: 59.38 kB / 0.5606 GB, free: 14.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.469, allocations: 0 / 0.5606 GB, free: 14.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.4691, allocations: 73.72 kB / 0.5606 GB, free: 14.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.4691, allocations: 77.11 kB / 0.5607 GB, free: 14.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.795e-05/0.4692, allocations: 85.75 kB / 0.5608 GB, free: 14.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.4692, allocations: 25.7 kB / 0.5608 GB, free: 14.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.056e-05/0.4692, allocations: 80.14 kB / 0.5609 GB, free: 14.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.4692, allocations: 6.344 kB / 0.5609 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-06/0.4692, allocations: 0 / 0.5609 GB, free: 14.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.4693, allocations: 315.6 kB / 0.5612 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-06/0.4693, allocations: 4.031 kB / 0.5612 GB, free: 14.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.4693, allocations: 0 / 0.5612 GB, free: 14.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/0.4693, allocations: 34.44 kB / 0.5612 GB, free: 14.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4693, allocations: 2.25 kB / 0.5612 GB, free: 14.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.739e-05/0.4694, allocations: 61.19 kB / 0.5613 GB, free: 14.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4694, allocations: 35.11 kB / 0.5613 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4694, allocations: 3.984 kB / 0.5613 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4694, allocations: 0.875 kB / 0.5613 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-06/0.4694, allocations: 0.6094 kB / 0.5613 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4695, allocations: 8.031 kB / 0.5613 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.4695, allocations: 4 kB / 0.5613 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4695, allocations: 0.75 kB / 0.5613 GB, free: 14.05 MB / 394.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 () * 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 4.111e-05/0.4695, allocations: 131.2 kB / 0.5615 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.4695, allocations: 4.75 kB / 0.5615 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-06/0.4696, allocations: 3.125 kB / 0.5615 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4696, allocations: 0.75 kB / 0.5615 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4696, allocations: 3.125 kB / 0.5615 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.4696, allocations: 0 / 0.5615 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.977e-05/0.4696, allocations: 155.6 kB / 0.5616 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.4696, allocations: 0 / 0.5616 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4696, allocations: 4 kB / 0.5616 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.4696, allocations: 0 / 0.5616 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4697, allocations: 0.6094 kB / 0.5616 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.4697, allocations: 0 / 0.5616 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4697, allocations: 0.5625 kB / 0.5616 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.535e-05/0.4697, allocations: 97.25 kB / 0.5617 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.4698, allocations: 81.89 kB / 0.5618 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.4698, allocations: 2.016 kB / 0.5618 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-06/0.4698, allocations: 3.938 kB / 0.5618 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.4698, allocations: 4.75 kB / 0.5618 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.4698, allocations: 0 / 0.5618 GB, free: 13.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.647e-05/0.4698, allocations: 75.28 kB / 0.5619 GB, free: 13.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4699, allocations: 0 / 0.5619 GB, free: 13.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.4701, allocations: 84 kB / 0.562 GB, free: 13.34 MB / 394.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) * 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.000406/0.4706, allocations: 209.2 kB / 0.5622 GB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.22e-05/0.4706, allocations: 59.41 kB / 0.5622 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4707, allocations: 0 / 0.5622 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.4707, allocations: 56.91 kB / 0.5623 GB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.648e-05/0.4708, allocations: 3.953 kB / 0.5623 GB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001316/0.4709, allocations: 61.16 kB / 0.5623 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.914e-05/0.471, allocations: 0.6708 MB / 0.563 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.3e-06/0.471, allocations: 0 / 0.563 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-06/0.471, allocations: 15.38 kB / 0.563 GB, free: 12.22 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.471, allocations: 0 / 0.563 GB, free: 12.22 MB / 394.7 MB Notification: Performance of Templates: time 0.003415/0.4745, allocations: 1.44 MB / 0.5644 GB, free: 11.42 MB / 394.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