Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001256, allocations: 178.4 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 242.1 MB, free: 9.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008549/0.0008549, allocations: 93.94 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3924/0.3924, allocations: 44.14 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004449, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4076, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.5233, allocations: 87.6 MB / 0.5963 GB, free: 7.469 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5236, allocations: 71.95 kB / 0.5963 GB, free: 7.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008373/0.532, allocations: 2.755 MB / 0.599 GB, free: 4.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5321, allocations: 0 / 0.599 GB, free: 4.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.5321, allocations: 0 / 0.599 GB, free: 4.645 MB / 410.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.0004292/0.5325, allocations: 397.1 kB / 0.5994 GB, free: 4.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5326, allocations: 8.031 kB / 0.5994 GB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.5326, allocations: 4.938 kB / 0.5994 GB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.5327, allocations: 160.4 kB / 0.5996 GB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.5328, allocations: 384 / 0.5996 GB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5328, allocations: 4.375 kB / 0.5996 GB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.916e-05/0.5329, allocations: 26.27 kB / 0.5996 GB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5329, allocations: 4.172 kB / 0.5996 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5329, allocations: 3.938 kB / 0.5996 GB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5329, allocations: 4 kB / 0.5996 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.338e-05/0.533, allocations: 11.92 kB / 0.5996 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.5331, allocations: 141.7 kB / 0.5998 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.915e-05/0.5332, allocations: 22.61 kB / 0.5998 GB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.5332, allocations: 4.859 kB / 0.5998 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.5332, allocations: 0 / 0.5998 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.5333, allocations: 64.25 kB / 0.5998 GB, free: 3.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.5333, allocations: 0 / 0.5998 GB, free: 3.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001738/0.5335, allocations: 67.34 kB / 0.5999 GB, free: 3.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.5335, allocations: 81.11 kB / 0.6 GB, free: 3.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.314e-05/0.5336, allocations: 89.86 kB / 0.6001 GB, free: 3.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.5336, allocations: 29.7 kB / 0.6001 GB, free: 3.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.5337, allocations: 80.14 kB / 0.6002 GB, free: 3.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.5337, allocations: 0 / 0.6002 GB, free: 3.238 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-06/0.5337, allocations: 0 / 0.6002 GB, free: 3.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5338, allocations: 319 kB / 0.6005 GB, free: 2.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.5338, allocations: 0 / 0.6005 GB, free: 2.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.5339, allocations: 4 kB / 0.6005 GB, free: 2.914 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.175e-05/0.5339, allocations: 56.27 kB / 0.6005 GB, free: 2.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5339, allocations: 7.938 kB / 0.6005 GB, free: 2.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.731e-05/0.534, allocations: 59.41 kB / 0.6006 GB, free: 2.766 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.5341, allocations: 41.62 kB / 0.6006 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5341, allocations: 0 / 0.6006 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5341, allocations: 8.031 kB / 0.6006 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.5341, allocations: 0 / 0.6006 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5341, allocations: 0 / 0.6006 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.5342, allocations: 0 / 0.6006 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.5342, allocations: 3.938 kB / 0.6007 GB, free: 2.707 MB / 410.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.843e-05/0.5343, allocations: 135.5 kB / 0.6008 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.5343, allocations: 0 / 0.6008 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.5343, allocations: 7.062 kB / 0.6008 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.5343, allocations: 0 / 0.6008 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.5343, allocations: 11.98 kB / 0.6008 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5343, allocations: 0 / 0.6008 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.978e-05/0.5344, allocations: 145.7 kB / 0.6009 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5344, allocations: 0 / 0.6009 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.5344, allocations: 0 / 0.6009 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5345, allocations: 0 / 0.6009 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.5345, allocations: 7.938 kB / 0.6009 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5345, allocations: 0 / 0.6009 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5345, allocations: 3.938 kB / 0.6009 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.5346, allocations: 90.83 kB / 0.601 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.5347, allocations: 81.11 kB / 0.6011 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.5347, allocations: 3.938 kB / 0.6011 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.5347, allocations: 3.984 kB / 0.6011 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.5347, allocations: 4 kB / 0.6011 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.5347, allocations: 0 / 0.6011 GB, free: 2.113 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.928e-05/0.5348, allocations: 79.28 kB / 0.6012 GB, free: 2.035 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5348, allocations: 0 / 0.6012 GB, free: 2.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.5352, allocations: 79.88 kB / 0.6013 GB, free: 1.957 MB / 410.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.0005217/0.5357, allocations: 220.6 kB / 0.6015 GB, free: 1.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.406e-05/0.5358, allocations: 63.34 kB / 0.6015 GB, free: 1.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5358, allocations: 0 / 0.6015 GB, free: 1.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.969e-05/0.5359, allocations: 55.41 kB / 0.6016 GB, free: 1.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.536, allocations: 0 / 0.6016 GB, free: 1.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.5362, allocations: 86.69 kB / 0.6017 GB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.5365, allocations: 0.673 MB / 0.6023 GB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.5365, allocations: 4.125 kB / 0.6023 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.052e-05/0.5365, allocations: 7.438 kB / 0.6024 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5365, allocations: 0 / 0.6024 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of Templates: time 0.004255/0.5408, allocations: 1.438 MB / 0.6038 GB, free: 15.34 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches