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.00146/0.00146, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001814/0.001814, allocations: 213 kB / 23.73 MB, free: 4.164 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.559/1.559, allocations: 230.5 MB / 257.4 MB, free: 7.816 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.2331/0.2331, allocations: 46.96 MB / 360.8 MB, free: 3.945 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.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 0.003524/0.003524, allocations: 79.88 kB / 0.4966 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3893, allocations: 66.09 MB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001755/0.391, allocations: 0.4917 MB / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.3935, allocations: 1.544 MB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.3935, allocations: 0 / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.3935, allocations: 4 kB / 0.5631 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.456e-06/0.3935, allocations: 7.938 kB / 0.5632 GB, free: 1.926 MB / 398.1 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.001053/0.3946, allocations: 286.5 kB / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.3946, allocations: 8 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.3946, allocations: 8 kB / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.3947, allocations: 0 / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.859e-05/0.3947, allocations: 0 / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-06/0.3947, allocations: 0 / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006996/0.3954, allocations: 423 kB / 0.5638 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.3954, allocations: 7.922 kB / 0.5639 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.3954, allocations: 4 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.3959, allocations: 301.6 kB / 0.5641 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.3959, allocations: 7.984 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3959, allocations: 0 / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3959, allocations: 0 / 0.5642 GB, free: 0.9102 MB / 398.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.0004071/0.3963, allocations: 303.7 kB / 0.5644 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3963, allocations: 8.031 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.3964, allocations: 0.9375 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.3965, allocations: 102.5 kB / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3965, allocations: 4.375 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.3965, allocations: 4.312 kB / 0.5646 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.3966, allocations: 63.7 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3966, allocations: 0 / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.3966, allocations: 4 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3966, allocations: 0 / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.111e-05/0.3967, allocations: 25.7 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.3968, allocations: 101.3 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.3968, allocations: 40.28 kB / 0.5648 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.3969, allocations: 38.59 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.3969, allocations: 3.984 kB / 0.5648 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.3969, allocations: 60.27 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3969, allocations: 0 / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002264/0.3972, allocations: 114.8 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.3972, allocations: 85.09 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.3973, allocations: 97.81 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3973, allocations: 25.83 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.3974, allocations: 84.14 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3974, allocations: 0 / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.3974, allocations: 13.72 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3975, allocations: 310.8 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.3976, allocations: 33.58 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.3976, allocations: 29.7 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.259e-05/0.3977, allocations: 68.25 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3977, allocations: 0 / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/0.3978, allocations: 85.11 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.3978, allocations: 33.8 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3978, allocations: 0 / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3978, allocations: 3.938 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.3978, allocations: 0 / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3978, allocations: 3.984 kB / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.3979, allocations: 4 kB / 0.5658 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3979, allocations: 3.938 kB / 0.5658 GB, free: 14.91 MB / 414.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.0001043/0.398, allocations: 139.5 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.398, allocations: 4 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.129e-05/0.398, allocations: 6.938 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.398, allocations: 7.984 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.398, allocations: 4 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.398, allocations: 0 / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.224e-05/0.3981, allocations: 101.3 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3981, allocations: 0 / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3981, allocations: 0 / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3981, allocations: 0 / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3981, allocations: 0 / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3981, allocations: 3.938 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3981, allocations: 0 / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.3982, allocations: 120.5 kB / 0.5662 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-06/0.3982, allocations: 4 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.3982, allocations: 0 / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.012e-05/0.3982, allocations: 3.938 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.3983, allocations: 0 / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3983, allocations: 4 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.974e-05/0.3983, allocations: 79.22 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3983, allocations: 0 / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000308/0.3986, allocations: 67.8 kB / 0.5664 GB, free: 14.3 MB / 414.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.0004865/0.3991, allocations: 197.8 kB / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3992, allocations: 114.8 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3992, allocations: 8.062 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/0.3993, allocations: 77.11 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.3994, allocations: 4 kB / 0.5667 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.3996, allocations: 110.7 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.982e-05/0.3997, allocations: 55.36 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.05e-06/0.3997, allocations: 0 / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.3997, allocations: 7.438 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3997, allocations: 0 / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Templates: time 0.004396/0.4041, allocations: 1.271 MB / 0.5681 GB, free: 12.37 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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: 5.265253487974405]