Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001385, allocations: 180.9 kB / 17.41 MB, free: 4.379 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.594/1.594, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007748/0.0007747, allocations: 91.8 kB / 271.9 MB, free: 8.246 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.3654/0.3654, allocations: 43.56 MB / 363.8 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004114, allocations: 8 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 58.85 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3121/0.4461, allocations: 86.37 MB / 0.5643 GB, free: 40 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4464, allocations: 64.05 kB / 0.5643 GB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008205/0.4546, allocations: 2.724 MB / 0.567 GB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4547, allocations: 0 / 0.567 GB, free: 13.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.4547, allocations: 0 / 0.567 GB, free: 13.28 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.0004013/0.4551, allocations: 383.1 kB / 0.5674 GB, free: 12.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4552, allocations: 8.031 kB / 0.5674 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.4552, allocations: 0.9375 kB / 0.5674 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.4553, allocations: 160.4 kB / 0.5675 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4553, allocations: 4.375 kB / 0.5675 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.4554, allocations: 7.5 kB / 0.5675 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.4555, allocations: 38.19 kB / 0.5676 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4555, allocations: 8.125 kB / 0.5676 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4555, allocations: 3.938 kB / 0.5676 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4555, allocations: 0 / 0.5676 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.4555, allocations: 0 / 0.5676 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.4557, allocations: 141.7 kB / 0.5677 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.4557, allocations: 21.34 kB / 0.5677 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.4558, allocations: 8.859 kB / 0.5677 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.4558, allocations: 5.203 kB / 0.5677 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.4558, allocations: 72.25 kB / 0.5678 GB, free: 12.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.4559, allocations: 0 / 0.5678 GB, free: 12.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001791/0.456, allocations: 63.34 kB / 0.5679 GB, free: 12.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.4561, allocations: 77.11 kB / 0.5679 GB, free: 12.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.954e-05/0.4562, allocations: 89.86 kB / 0.568 GB, free: 12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4562, allocations: 29.83 kB / 0.5681 GB, free: 11.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.4562, allocations: 80.14 kB / 0.5681 GB, free: 11.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.4562, allocations: 2.031 kB / 0.5681 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4563, allocations: 4 kB / 0.5681 GB, free: 11.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4564, allocations: 314.8 kB / 0.5684 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.4564, allocations: 4 kB / 0.5684 GB, free: 11.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.4564, allocations: 0 / 0.5684 GB, free: 11.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.865e-05/0.4565, allocations: 66.92 kB / 0.5685 GB, free: 11.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4565, allocations: 4.062 kB / 0.5685 GB, free: 11.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.773e-05/0.4566, allocations: 59.41 kB / 0.5686 GB, free: 11.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.4566, allocations: 37.69 kB / 0.5686 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4566, allocations: 0 / 0.5686 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4567, allocations: 3.938 kB / 0.5686 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.4567, allocations: 0 / 0.5686 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4567, allocations: 0 / 0.5686 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.4567, allocations: 4 kB / 0.5686 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4567, allocations: 0 / 0.5686 GB, free: 11.36 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 () * 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 9.331e-05/0.4568, allocations: 135.6 kB / 0.5687 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.4568, allocations: 4 kB / 0.5687 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.631e-05/0.4569, allocations: 7.062 kB / 0.5688 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4569, allocations: 3.984 kB / 0.5688 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4569, allocations: 0 / 0.5688 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4569, allocations: 0 / 0.5688 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.457, allocations: 153.5 kB / 0.5689 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.457, allocations: 0 / 0.5689 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/0.457, allocations: 4 kB / 0.5689 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.457, allocations: 0 / 0.5689 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.457, allocations: 7.938 kB / 0.5689 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.457, allocations: 0 / 0.5689 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.457, allocations: 1 kB / 0.5689 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.4572, allocations: 90.83 kB / 0.569 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.4572, allocations: 77.11 kB / 0.5691 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.4572, allocations: 7.922 kB / 0.5691 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.044e-05/0.4572, allocations: 4 kB / 0.5691 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.4573, allocations: 4 kB / 0.5691 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.4573, allocations: 4.031 kB / 0.5691 GB, free: 10.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.733e-05/0.4573, allocations: 76.12 kB / 0.5692 GB, free: 10.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4573, allocations: 0 / 0.5692 GB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.4577, allocations: 79.92 kB / 0.5692 GB, free: 10.61 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) * 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.0005322/0.4582, allocations: 211 kB / 0.5694 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.4583, allocations: 63.34 kB / 0.5695 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4583, allocations: 0 / 0.5695 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.4584, allocations: 55.41 kB / 0.5696 GB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.4585, allocations: 1.953 kB / 0.5696 GB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.4587, allocations: 115.2 kB / 0.5697 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.459, allocations: 0.6692 MB / 0.5703 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.093e-05/0.459, allocations: 7.438 kB / 0.5703 GB, free: 9.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.459, allocations: 4 kB / 0.5703 GB, free: 9.406 MB / 394.7 MB Notification: Performance of Templates: time 0.003621/0.4627, allocations: 1.355 MB / 0.5717 GB, free: 8.055 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches