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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9261/0.9261, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1287/0.1287, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.739e-05, allocations: 4.281 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001433/0.00146, allocations: 0.5352 MB / 348.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.003562, allocations: 1.576 MB / 349.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.131e-05/0.003583, allocations: 4 kB / 349.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.003605, allocations: 0 / 349.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.003611, allocations: 0 / 349.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00096/0.004571, allocations: 295 kB / 350 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.96e-05/0.004621, allocations: 0 / 350 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.004656, allocations: 7.984 kB / 350.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.692e-05/0.004683, allocations: 3.984 kB / 350.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.961e-05/0.004703, allocations: 4 kB / 350.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.00471, allocations: 0 / 350.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.005307, allocations: 415 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.005315, allocations: 4 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.005335, allocations: 0 / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.005735, allocations: 311.2 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005737, allocations: 0 / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005738, allocations: 0 / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.005742, allocations: 8 kB / 350.8 MB, free: 6.316 MB / 282.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.0002835/0.006026, allocations: 401.7 kB / 351.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.006067, allocations: 12.02 kB / 351.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.006104, allocations: 0.9375 kB / 351.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.324e-05/0.006147, allocations: 104.6 kB / 351.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.00616, allocations: 4.375 kB / 351.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.006172, allocations: 384 / 351.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.995e-05/0.006262, allocations: 59.91 kB / 351.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006272, allocations: 192 / 351.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.006281, allocations: 384 / 351.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.006291, allocations: 7.938 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.006313, allocations: 29.7 kB / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.979e-05/0.006392, allocations: 112.6 kB / 351.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.006438, allocations: 48.77 kB / 351.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.006456, allocations: 37.48 kB / 351.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-06/0.006462, allocations: 0 / 351.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.006492, allocations: 63.03 kB / 351.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.006493, allocations: 0 / 351.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001649/0.006658, allocations: 122.8 kB / 351.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.006683, allocations: 81.17 kB / 351.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.393e-05/0.006707, allocations: 146.2 kB / 352 MB, free: 4.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.006713, allocations: 25.7 kB / 352 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.285e-05/0.006726, allocations: 126.9 kB / 352.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.006743, allocations: 4.328 kB / 352.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.00677, allocations: 23.38 kB / 352.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.006818, allocations: 496.1 kB / 352.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.006835, allocations: 33.64 kB / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.162e-05/0.006847, allocations: 25.7 kB / 352.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.006885, allocations: 67.03 kB / 352.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006887, allocations: 4.062 kB / 352.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.521e-05/0.006952, allocations: 97.05 kB / 352.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.006974, allocations: 29.7 kB / 352.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.006979, allocations: 3.984 kB / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.006996, allocations: 0 / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-06/0.007001, allocations: 0 / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007006, allocations: 7.938 kB / 352.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.007021, allocations: 0 / 352.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.007027, allocations: 0 / 352.9 MB, free: 3.883 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.007078, allocations: 190.3 kB / 353.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.007087, allocations: 4.031 kB / 353.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.007101, allocations: 6.938 kB / 353.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007103, allocations: 0 / 353.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.007106, allocations: 0 / 353.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007109, allocations: 3.938 kB / 353.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.28e-05/0.007152, allocations: 108.6 kB / 353.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007153, allocations: 0 / 353.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.007154, allocations: 4 kB / 353.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.007156, allocations: 0 / 353.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.007164, allocations: 0 / 353.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.007166, allocations: 7.984 kB / 353.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007167, allocations: 4 kB / 353.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.383e-05/0.007251, allocations: 127.8 kB / 353.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.007256, allocations: 3.984 kB / 353.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.007273, allocations: 4 kB / 353.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-06/0.007282, allocations: 0 / 353.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.007293, allocations: 0 / 353.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.007297, allocations: 4 kB / 353.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.306e-05/0.00731, allocations: 123.1 kB / 353.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.00731, allocations: 3.938 kB / 353.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002989/0.007609, allocations: 67.73 kB / 353.6 MB, free: 3.145 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000404/0.008013, allocations: 189.5 kB / 353.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.008118, allocations: 122.5 kB / 353.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008119, allocations: 0 / 353.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.591e-05/0.008145, allocations: 92.78 kB / 354 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.008289, allocations: 4 kB / 354 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001686/0.008458, allocations: 109.7 kB / 354.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.174e-05/0.00848, allocations: 55.34 kB / 354.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.851e-06/0.008486, allocations: 0 / 354.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.008498, allocations: 8.5 kB / 354.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008499, allocations: 128 / 354.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of Templates: time 0.003848/0.01235, allocations: 1.324 MB / 355.5 MB, free: 1.152 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0292275971733034]