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.001053/0.001053, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.004276/0.004276, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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 1.058/1.058, allocations: 177 MB / 205.1 MB, free: 5.484 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.2707/0.2707, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.593e-06/1.593e-06, allocations: 0 / 379.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.135e-05, allocations: 2.312 kB / 379.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001197/0.001228, allocations: 0.506 MB / 379.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.002905, allocations: 1.592 MB / 381.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.002929, allocations: 4 kB / 381.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.002949, allocations: 3.938 kB / 381.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.756e-06/0.002958, allocations: 0 / 381.3 MB, free: 15.75 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.0009091/0.003867, allocations: 291.1 kB / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.316e-05/0.00391, allocations: 4 kB / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.003949, allocations: 4 kB / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.003981, allocations: 0 / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.772e-05/0.003998, allocations: 4 kB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.004006, allocations: 0 / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.004511, allocations: 431 kB / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.004519, allocations: 0 / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.004533, allocations: 0 / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.004857, allocations: 319.1 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.004859, allocations: 0 / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00486, allocations: 0 / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.004863, allocations: 4 kB / 382.3 MB, free: 14.71 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.000281/0.005144, allocations: 401.7 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.005181, allocations: 11.97 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.00521, allocations: 4.938 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.411e-05/0.005274, allocations: 108.6 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.005284, allocations: 384 / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.00529, allocations: 384 / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.834e-05/0.005359, allocations: 55.97 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005367, allocations: 192 / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.005373, allocations: 384 / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.00538, allocations: 7.938 kB / 382.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.005396, allocations: 29.7 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.53e-05/0.005471, allocations: 89.27 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.005514, allocations: 64.72 kB / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.005531, allocations: 33.39 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-06/0.005535, allocations: 4.062 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.005573, allocations: 59.09 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.005574, allocations: 0 / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.005746, allocations: 122.7 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.005789, allocations: 77.23 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.005838, allocations: 146.2 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.005847, allocations: 29.7 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.005882, allocations: 130.9 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.0059, allocations: 4.281 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.005927, allocations: 19.36 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.00607, allocations: 0.4883 MB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.006088, allocations: 29.69 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.006104, allocations: 25.7 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.006151, allocations: 63.09 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006153, allocations: 4.062 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.612e-05/0.006219, allocations: 93 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.006252, allocations: 37.69 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.006256, allocations: 0 / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.006271, allocations: 0 / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.006272, allocations: 0 / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.006275, allocations: 0 / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/0.006286, allocations: 3.938 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.006293, allocations: 4 kB / 384.5 MB, free: 12.3 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.764e-05/0.006371, allocations: 186.2 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-06/0.006375, allocations: 4.031 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.006388, allocations: 7 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006389, allocations: 0 / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.006391, allocations: 3.984 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006394, allocations: 0 / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.693e-05/0.006451, allocations: 93.2 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006453, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-06/0.006455, allocations: 8 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.006455, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-06/0.006459, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.00646, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006461, allocations: 4 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.16e-05/0.006542, allocations: 135.7 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-06/0.006548, allocations: 4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.006559, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-06/0.006563, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-06/0.006571, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.006573, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.866e-05/0.006602, allocations: 123.2 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006602, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002148/0.006816, allocations: 63.8 kB / 385.1 MB, free: 11.61 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.0003194/0.007136, allocations: 199.1 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.007229, allocations: 122.5 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.007231, allocations: 4 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.007262, allocations: 88.73 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.427e-05/0.007346, allocations: 7.938 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001471/0.007493, allocations: 113.6 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.696e-05/0.00752, allocations: 51.36 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.478e-06/0.007525, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.00756, allocations: 78.12 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00756, allocations: 4.125 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Templates: time 0.002847/0.01041, allocations: 1.525 MB / 387.2 MB, free: 9.32 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.011986317113042]