Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.00105/0.00105, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001836/0.001836, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9978/0.9978, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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.2674/0.2674, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.7 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.899e-05, allocations: 3.016 kB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001288/0.001317, allocations: 0.5033 MB / 379.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.00311, allocations: 1.596 MB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.003129, allocations: 4 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.003149, allocations: 0 / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.585e-06/0.003157, allocations: 0 / 380.8 MB, free: 15.99 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009397/0.004097, allocations: 291.1 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.004148, allocations: 7.984 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.004185, allocations: 12 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.638e-05/0.004211, allocations: 3.938 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.774e-05/0.004229, allocations: 3.938 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.004236, allocations: 0 / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.004764, allocations: 415.1 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.004774, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.004798, allocations: 11.92 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.005189, allocations: 315.2 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.005192, allocations: 4 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005194, allocations: 0 / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.0052, allocations: 0 / 381.9 MB, free: 14.95 MB / 362.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.0005442/0.005744, allocations: 401.7 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.005783, allocations: 8.031 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.005821, allocations: 0.9375 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.049e-05/0.005881, allocations: 112.6 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.005892, allocations: 384 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.0059, allocations: 384 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.18e-05/0.005992, allocations: 59.91 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.005998, allocations: 4.188 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.006007, allocations: 4.375 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.006014, allocations: 3.938 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.006034, allocations: 33.69 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.837e-05/0.006123, allocations: 112.6 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.558e-05/0.006168, allocations: 52.8 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.006186, allocations: 33.39 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-06/0.006191, allocations: 0 / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.006227, allocations: 67.09 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.006228, allocations: 0 / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001672/0.006395, allocations: 122.8 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.006433, allocations: 81.05 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.136e-05/0.006475, allocations: 142.2 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.006482, allocations: 25.7 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.486e-05/0.006507, allocations: 126.9 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.006527, allocations: 8.281 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.006552, allocations: 15.38 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.006664, allocations: 496.1 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.006686, allocations: 33.69 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.006699, allocations: 25.7 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.006741, allocations: 71.22 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006744, allocations: 0 / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.695e-05/0.00681, allocations: 93.05 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.00684, allocations: 33.7 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.006845, allocations: 0 / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.006856, allocations: 7.938 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.006859, allocations: 0 / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.006865, allocations: 3.938 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.006877, allocations: 0 / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.006884, allocations: 0 / 384 MB, free: 12.51 MB / 362.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 7.13e-05/0.006955, allocations: 186.3 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.006961, allocations: 0 / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-06/0.00697, allocations: 10.92 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.006973, allocations: 4 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.006977, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.006982, allocations: 3.938 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.499e-05/0.007037, allocations: 104.6 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007039, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-07/0.007039, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.007041, allocations: 4 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.007048, allocations: 4 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007048, allocations: 0 / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007049, allocations: 0 / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.42e-05/0.007143, allocations: 131.8 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.007148, allocations: 0 / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.007164, allocations: 4 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.007171, allocations: 7.984 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.007187, allocations: 0 / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.007189, allocations: 0 / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.007223, allocations: 123.1 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007223, allocations: 11.97 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.007475, allocations: 59.81 kB / 384.7 MB, free: 11.78 MB / 362.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.0004226/0.007898, allocations: 200 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.008005, allocations: 114.5 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.008007, allocations: 0 / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.008041, allocations: 100.7 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.337e-05/0.008134, allocations: 4 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.00833, allocations: 109.7 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.008363, allocations: 51.36 kB / 385.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.741e-06/0.008368, allocations: 4.125 kB / 385.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.008384, allocations: 8.5 kB / 385.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.008385, allocations: 4 kB / 385.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003481/0.01187, allocations: 1.516 MB / 386.8 MB, free: 9.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.0833482276648283]