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.001677/0.001677, allocations: 172 kB / 16.76 MB, free: 4.93 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.545/1.545, allocations: 205.4 MB / 222.9 MB, free: 8.926 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.001038/0.001038, allocations: 85.08 kB / 271.3 MB, free: 8.227 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.3714/0.3714, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003891, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3991/0.536, allocations: 86.37 MB / 0.5643 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5363, allocations: 63.97 kB / 0.5643 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008089/0.5444, allocations: 2.719 MB / 0.567 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5445, allocations: 0 / 0.567 GB, free: 12.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.5445, allocations: 0 / 0.567 GB, free: 12.86 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.0003844/0.5449, allocations: 390 kB / 0.5674 GB, free: 12.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5449, allocations: 8.031 kB / 0.5674 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.545, allocations: 4.938 kB / 0.5674 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.5451, allocations: 160.4 kB / 0.5675 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.5451, allocations: 3.5 kB / 0.5675 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.5451, allocations: 4.312 kB / 0.5675 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.5452, allocations: 30.27 kB / 0.5676 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.5452, allocations: 4.031 kB / 0.5676 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5453, allocations: 7.938 kB / 0.5676 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.5453, allocations: 0 / 0.5676 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.5453, allocations: 7.984 kB / 0.5676 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.5454, allocations: 149.7 kB / 0.5677 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.5455, allocations: 14.58 kB / 0.5678 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.5455, allocations: 11.45 kB / 0.5678 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.5455, allocations: 0 / 0.5678 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.5456, allocations: 68.33 kB / 0.5678 GB, free: 11.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5456, allocations: 0 / 0.5678 GB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.5457, allocations: 67.33 kB / 0.5679 GB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.5458, allocations: 77.11 kB / 0.568 GB, free: 11.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.048e-05/0.5458, allocations: 89.86 kB / 0.5681 GB, free: 11.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.5459, allocations: 25.7 kB / 0.5681 GB, free: 11.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.5459, allocations: 80.14 kB / 0.5682 GB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.5459, allocations: 2.031 kB / 0.5682 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-06/0.5459, allocations: 128 / 0.5682 GB, free: 11.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5461, allocations: 322.8 kB / 0.5685 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.5461, allocations: 3.938 kB / 0.5685 GB, free: 11.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.5461, allocations: 3.984 kB / 0.5685 GB, free: 11.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.5461, allocations: 60.27 kB / 0.5685 GB, free: 11.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5462, allocations: 0 / 0.5685 GB, free: 11.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.249e-05/0.5462, allocations: 59.41 kB / 0.5686 GB, free: 10.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.5463, allocations: 29.7 kB / 0.5686 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5463, allocations: 8.078 kB / 0.5686 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5463, allocations: 3.938 kB / 0.5686 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.5463, allocations: 0 / 0.5686 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.5463, allocations: 0 / 0.5686 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.5463, allocations: 4 kB / 0.5686 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.5463, allocations: 4 kB / 0.5686 GB, free: 10.93 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 8.809e-05/0.5464, allocations: 135.5 kB / 0.5688 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.5465, allocations: 4 kB / 0.5688 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.366e-05/0.5465, allocations: 7.062 kB / 0.5688 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.5465, allocations: 4 kB / 0.5688 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.5465, allocations: 0 / 0.5688 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5465, allocations: 0 / 0.5688 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.5466, allocations: 149.7 kB / 0.5689 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5466, allocations: 4 kB / 0.5689 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-07/0.5466, allocations: 0 / 0.5689 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5466, allocations: 0 / 0.5689 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.5467, allocations: 7.875 kB / 0.5689 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.5467, allocations: 0.75 kB / 0.5689 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5467, allocations: 7.672 kB / 0.5689 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.627e-05/0.5468, allocations: 94.83 kB / 0.569 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.5468, allocations: 77.11 kB / 0.5691 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.5468, allocations: 3.938 kB / 0.5691 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.5469, allocations: 4 kB / 0.5691 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.5469, allocations: 0 / 0.5691 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.5469, allocations: 7.984 kB / 0.5691 GB, free: 10.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.797e-05/0.5469, allocations: 83.16 kB / 0.5692 GB, free: 10.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5469, allocations: 0 / 0.5692 GB, free: 10.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.5472, allocations: 79.97 kB / 0.5693 GB, free: 10.18 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.0005356/0.5478, allocations: 210.7 kB / 0.5695 GB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.5479, allocations: 55.41 kB / 0.5695 GB, free: 9.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5479, allocations: 4 kB / 0.5695 GB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.548, allocations: 55.41 kB / 0.5696 GB, free: 9.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.5481, allocations: 4 kB / 0.5696 GB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.5483, allocations: 79.38 kB / 0.5697 GB, free: 9.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.5487, allocations: 0.6692 MB / 0.5703 GB, free: 9.031 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.685e-06/0.5487, allocations: 4.125 kB / 0.5703 GB, free: 9.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.5487, allocations: 11.44 kB / 0.5703 GB, free: 9.016 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5488, allocations: 3.938 kB / 0.5703 GB, free: 9.012 MB / 394.7 MB Notification: Performance of Templates: time 0.004331/0.5531, allocations: 1.441 MB / 0.5717 GB, free: 7.582 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/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_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches