Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001664/0.001664, allocations: 103.6 kB / 21.19 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002055/0.002055, allocations: 211.5 kB / 24.48 MB, free: 3.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.95 MB / 361.6 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 83.86 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3465, allocations: 66.08 MB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001692/0.3482, allocations: 497.1 kB / 0.5624 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007988/0.3562, allocations: 4.569 MB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.3562, allocations: 4 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.3562, allocations: 0 / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.386e-06/0.3562, allocations: 3.938 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.008188/0.3644, allocations: 3.267 MB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.3645, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.3645, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.193e-05/0.3645, allocations: 4 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.125e-05/0.3646, allocations: 3.984 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.3646, allocations: 0 / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03155/0.3961, allocations: 19.8 MB / 0.5894 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.3961, allocations: 4 kB / 0.5894 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.3962, allocations: 0 / 0.5894 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04052/0.4367, allocations: 26.13 MB / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4367, allocations: 0 / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4367, allocations: 0 / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4367, allocations: 0 / 0.6149 GB, free: 13.62 MB / 462.1 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.00784/0.4445, allocations: 0.5944 MB / 0.6155 GB, free: 12.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4446, allocations: 12.03 kB / 0.6155 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.4446, allocations: 0.9375 kB / 0.6155 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.814e-05/0.4447, allocations: 105.9 kB / 0.6156 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4447, allocations: 0 / 0.6156 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.4447, allocations: 8 kB / 0.6156 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.4449, allocations: 59.39 kB / 0.6157 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.4449, allocations: 3.938 kB / 0.6157 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4449, allocations: 4 kB / 0.6157 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4449, allocations: 0 / 0.6157 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.4449, allocations: 29.64 kB / 0.6157 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.4451, allocations: 109.2 kB / 0.6158 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.4451, allocations: 40.28 kB / 0.6158 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.4452, allocations: 38.66 kB / 0.6159 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.4452, allocations: 0 / 0.6159 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.463e-05/0.4452, allocations: 64.25 kB / 0.6159 GB, free: 12.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.4452, allocations: 0 / 0.6159 GB, free: 12.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002129/0.4454, allocations: 114.8 kB / 0.616 GB, free: 12.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.4455, allocations: 85.09 kB / 0.6161 GB, free: 12.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.107e-05/0.4456, allocations: 93.86 kB / 0.6162 GB, free: 12.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4456, allocations: 25.7 kB / 0.6162 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.4456, allocations: 80.14 kB / 0.6163 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.4456, allocations: 3.984 kB / 0.6163 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.4457, allocations: 13.72 kB / 0.6163 GB, free: 11.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4458, allocations: 310.8 kB / 0.6166 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.4459, allocations: 29.83 kB / 0.6167 GB, free: 11.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.4459, allocations: 33.7 kB / 0.6167 GB, free: 11.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.75e-05/0.446, allocations: 64.19 kB / 0.6167 GB, free: 11.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.446, allocations: 4 kB / 0.6167 GB, free: 11.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.114e-05/0.4461, allocations: 85.05 kB / 0.6168 GB, free: 11.37 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.4461, allocations: 33.7 kB / 0.6169 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4461, allocations: 0 / 0.6169 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4461, allocations: 0 / 0.6169 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.4461, allocations: 0 / 0.6169 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4461, allocations: 96 / 0.6169 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.4461, allocations: 7.984 kB / 0.6169 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4461, allocations: 8 kB / 0.6169 GB, free: 11.31 MB / 462.1 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 0.0001054/0.4463, allocations: 135.5 kB / 0.617 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.4463, allocations: 0 / 0.617 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.171e-05/0.4463, allocations: 7 kB / 0.617 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.4463, allocations: 0 / 0.617 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4463, allocations: 0 / 0.617 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4463, allocations: 3.984 kB / 0.617 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.79e-05/0.4464, allocations: 105.2 kB / 0.6171 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4464, allocations: 0 / 0.6171 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-07/0.4464, allocations: 8 kB / 0.6171 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.4464, allocations: 0 / 0.6171 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.4464, allocations: 0 / 0.6171 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4464, allocations: 0 / 0.6171 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4464, allocations: 0 / 0.6171 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.4465, allocations: 124.4 kB / 0.6172 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.4465, allocations: 3.938 kB / 0.6172 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.4465, allocations: 4 kB / 0.6173 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.4466, allocations: 3.938 kB / 0.6173 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.4466, allocations: 4 kB / 0.6173 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.4466, allocations: 4.031 kB / 0.6173 GB, free: 10.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.6e-05/0.4466, allocations: 75.28 kB / 0.6173 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4466, allocations: 0 / 0.6173 GB, free: 10.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01177/0.4584, allocations: 3.784 MB / 0.621 GB, free: 6.98 MB / 462.1 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.02247/0.4809, allocations: 0.9844 MB / 0.622 GB, free: 6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.4811, allocations: 114.8 kB / 0.6221 GB, free: 5.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4811, allocations: 0 / 0.6221 GB, free: 5.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.4811, allocations: 89.17 kB / 0.6222 GB, free: 5.758 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.4813, allocations: 7.875 kB / 0.6222 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.4816, allocations: 132.5 kB / 0.6223 GB, free: 5.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.38e-05/0.4816, allocations: 59.3 kB / 0.6224 GB, free: 5.504 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.4817, allocations: 11.44 kB / 0.6224 GB, free: 5.492 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4817, allocations: 0 / 0.6224 GB, free: 5.492 MB / 462.1 MB Notification: Performance of Templates: time 0.1048/0.5865, allocations: 64.88 MB / 0.6857 GB, free: 4.516 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2/TestMatrices2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 23.31464554090053]