Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.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.001126/0.001126, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006275/0.006275, allocations: 160.7 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8655/0.8655, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2432/0.2432, allocations: 34.25 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.688e-05, allocations: 2.281 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0008518/0.0008687, allocations: 0.4885 MB / 443.9 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1636/0.1645, allocations: 4.582 MB / 448.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.1645, allocations: 2.781 kB / 448.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.1645, allocations: 0 / 448.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.251e-06/0.1645, allocations: 1.344 kB / 448.5 MB, free: 41.95 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.168, allocations: 3.275 MB / 451.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.688e-05/0.1681, allocations: 0 / 451.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.1681, allocations: 2.906 kB / 451.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.1681, allocations: 4.047 kB / 451.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.591e-05/0.1682, allocations: 3.984 kB / 451.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-06/0.1682, allocations: 3.875 kB / 451.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01655/0.1847, allocations: 19.8 MB / 471.6 MB, free: 37.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.1847, allocations: 1.25 kB / 471.6 MB, free: 37.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.1847, allocations: 7.5 kB / 471.6 MB, free: 37.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03959/0.2243, allocations: 30.7 MB / 0.4905 GB, free: 21.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2243, allocations: 0 / 0.4905 GB, free: 21.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2243, allocations: 0 / 0.4905 GB, free: 21.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.2244, allocations: 3.984 kB / 0.4905 GB, free: 21.69 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.009757/0.2341, allocations: 0.5944 MB / 0.4911 GB, free: 21.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2341, allocations: 8.031 kB / 0.4911 GB, free: 21.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.2342, allocations: 0.9375 kB / 0.4911 GB, free: 21.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.836e-05/0.2342, allocations: 113.4 kB / 0.4912 GB, free: 20.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2342, allocations: 0 / 0.4912 GB, free: 20.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.2342, allocations: 0 / 0.4912 GB, free: 20.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.055e-05/0.2343, allocations: 55.41 kB / 0.4913 GB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.2343, allocations: 3.469 kB / 0.4913 GB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.2343, allocations: 3.984 kB / 0.4913 GB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2343, allocations: 0 / 0.4913 GB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.2343, allocations: 37.58 kB / 0.4913 GB, free: 20.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.627e-05/0.2344, allocations: 101.3 kB / 0.4914 GB, free: 20.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/0.2344, allocations: 44.31 kB / 0.4915 GB, free: 20.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/0.2345, allocations: 34.56 kB / 0.4915 GB, free: 20.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.2345, allocations: 1.078 kB / 0.4915 GB, free: 20.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.2345, allocations: 64.31 kB / 0.4915 GB, free: 20.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.2345, allocations: 0 / 0.4915 GB, free: 20.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001431/0.2346, allocations: 118.8 kB / 0.4917 GB, free: 20.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.2347, allocations: 77.11 kB / 0.4917 GB, free: 20.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.465e-05/0.2347, allocations: 89.86 kB / 0.4918 GB, free: 20.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-06/0.2347, allocations: 25.7 kB / 0.4918 GB, free: 20.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-06/0.2347, allocations: 84.12 kB / 0.4919 GB, free: 20.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.2347, allocations: 0 / 0.4919 GB, free: 20.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/0.2347, allocations: 21.84 kB / 0.4919 GB, free: 20.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.433e-05/0.2347, allocations: 310.8 kB / 0.4922 GB, free: 19.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.2347, allocations: 29.7 kB / 0.4923 GB, free: 19.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.2348, allocations: 25.7 kB / 0.4923 GB, free: 19.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.2348, allocations: 60.27 kB / 0.4924 GB, free: 19.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2348, allocations: 3.938 kB / 0.4924 GB, free: 19.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.056e-05/0.2348, allocations: 98.78 kB / 0.4925 GB, free: 19.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2348, allocations: 29.7 kB / 0.4925 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2348, allocations: 0 / 0.4925 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.2348, allocations: 4.094 kB / 0.4925 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.2348, allocations: 4 kB / 0.4925 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2348, allocations: 0 / 0.4925 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.2349, allocations: 0 / 0.4925 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2349, allocations: 0 / 0.4925 GB, free: 19.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.2349, allocations: 143.5 kB / 0.4926 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-06/0.2349, allocations: 0 / 0.4926 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-06/0.2349, allocations: 3 kB / 0.4926 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2349, allocations: 2.906 kB / 0.4926 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2349, allocations: 0 / 0.4926 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2349, allocations: 4 kB / 0.4926 GB, free: 19.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.68e-05/0.2349, allocations: 101.3 kB / 0.4927 GB, free: 19.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2349, allocations: 5.344 kB / 0.4927 GB, free: 19.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-06/0.2349, allocations: 7.172 kB / 0.4927 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.2349, allocations: 3.938 kB / 0.4927 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.235, allocations: 0 / 0.4927 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-07/0.235, allocations: 0 / 0.4927 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.235, allocations: 4 kB / 0.4928 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.183e-05/0.235, allocations: 120.5 kB / 0.4929 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-06/0.235, allocations: 3.938 kB / 0.4929 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.235, allocations: 0 / 0.4929 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-06/0.235, allocations: 4.031 kB / 0.4929 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.235, allocations: 4 kB / 0.4929 GB, free: 18.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.235, allocations: 0 / 0.4929 GB, free: 18.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.124e-06/0.235, allocations: 75.28 kB / 0.4929 GB, free: 18.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.235, allocations: 0 / 0.4929 GB, free: 18.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01309/0.2481, allocations: 3.791 MB / 0.4967 GB, free: 15.07 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 (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.02187/0.27, allocations: 1.068 MB / 0.4977 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.2701, allocations: 110.8 kB / 0.4978 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2701, allocations: 4.062 kB / 0.4978 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-05/0.2701, allocations: 89.09 kB / 0.4979 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.534e-05/0.2702, allocations: 7.938 kB / 0.4979 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.2704, allocations: 124.4 kB / 0.498 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.439e-05/0.2704, allocations: 55.36 kB / 0.4981 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.2704, allocations: 8.5 kB / 0.4981 GB, free: 13.55 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.2704, allocations: 0 / 0.4981 GB, free: 13.55 MB / 410.7 MB Notification: Performance of Templates: time 0.07124/0.3417, allocations: 64.98 MB / 0.5615 GB, free: 12.51 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2/TestMatrices2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.588647762313485]