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.002158/0.002158, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002089/0.002089, allocations: 156.8 kB / 24.27 MB, free: 156 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 1.563/1.563, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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.3486/0.3486, allocations: 34.25 MB / 295.2 MB, free: 0.6289 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.743e-06/1.743e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.177e-05, allocations: 8.781 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001537/0.001569, allocations: 493 kB / 377.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.004194, allocations: 1.584 MB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.004209, allocations: 0 / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.00422, allocations: 3.938 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.139e-06/0.004226, allocations: 0 / 379.3 MB, free: 0.832 MB / 346.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.00102/0.005246, allocations: 299 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.953e-05/0.005285, allocations: 3.938 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.228e-05/0.005318, allocations: 8 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/0.005344, allocations: 0 / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.555e-05/0.00536, allocations: 0 / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.121e-06/0.005366, allocations: 0 / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.006117, allocations: 427 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-06/0.006124, allocations: 4 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.006143, allocations: 4 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.006682, allocations: 315.1 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.006688, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006689, allocations: 0 / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006693, allocations: 0 / 380.3 MB, free: 15.79 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.0004293/0.007122, allocations: 393.8 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.007158, allocations: 8.031 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.007202, allocations: 4.938 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.007306, allocations: 116.6 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.00732, allocations: 4.359 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.007328, allocations: 4.375 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.007436, allocations: 59.91 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.007443, allocations: 192 / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.007451, allocations: 384 / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007457, allocations: 3.938 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.568e-05/0.007492, allocations: 25.7 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.007637, allocations: 112.6 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.007716, allocations: 52.8 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.007754, allocations: 37.39 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.007766, allocations: 7.875 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/0.007829, allocations: 67.16 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.00783, allocations: 0 / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002189/0.008049, allocations: 114.8 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.008113, allocations: 85.05 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.008196, allocations: 142.2 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.008217, allocations: 25.7 kB / 381.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.00828, allocations: 130.9 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.008297, allocations: 0 / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.008339, allocations: 15.38 kB / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.008599, allocations: 0.4884 MB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.008629, allocations: 29.83 kB / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.008656, allocations: 33.64 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.008718, allocations: 63.09 kB / 382.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00872, allocations: 0 / 382.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.965e-05/0.00882, allocations: 89.09 kB / 382.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.008858, allocations: 33.7 kB / 382.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.008862, allocations: 0 / 382.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.008875, allocations: 0 / 382.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.008876, allocations: 0 / 382.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.008885, allocations: 8.031 kB / 382.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.008902, allocations: 4 kB / 382.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.00891, allocations: 4 kB / 382.4 MB, free: 13.36 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 0.0001271/0.009037, allocations: 186.2 kB / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.00905, allocations: 7.953 kB / 382.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.528e-06/0.00906, allocations: 6.984 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.009061, allocations: 0 / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.009063, allocations: 0 / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.009068, allocations: 3.938 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.009168, allocations: 108.6 kB / 382.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.009169, allocations: 8 kB / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.009169, allocations: 0 / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.009171, allocations: 0 / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.009177, allocations: 0 / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.009177, allocations: 0 / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009178, allocations: 0 / 382.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.009329, allocations: 143.7 kB / 382.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-06/0.009332, allocations: 0 / 382.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.009347, allocations: 3.984 kB / 382.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.724e-05/0.009364, allocations: 0 / 382.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.009382, allocations: 4 kB / 382.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.009385, allocations: 7.969 kB / 382.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.712e-05/0.009452, allocations: 123.1 kB / 383 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009452, allocations: 0 / 383 MB, free: 12.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000301/0.009753, allocations: 67.8 kB / 383.1 MB, free: 12.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.0005157/0.01027, allocations: 184.4 kB / 383.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.01044, allocations: 122.5 kB / 383.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01044, allocations: 0 / 383.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.01051, allocations: 92.78 kB / 383.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.01063, allocations: 5.484 kB / 383.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.01086, allocations: 121.8 kB / 383.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.01092, allocations: 55.34 kB / 383.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.37e-06/0.01093, allocations: 0 / 383.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.01094, allocations: 8.5 kB / 383.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01094, allocations: 4 kB / 383.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of Templates: time 0.00466/0.0156, allocations: 1.308 MB / 385 MB, free: 10.62 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","/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: 4.824606989976019]