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.001419/0.001419, allocations: 85.11 kB / 20.68 MB, free: 1.035 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.001928/0.001928, allocations: 158.2 kB / 23.95 MB, free: 4.168 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: 177 MB / 204.1 MB, free: 9.145 MB / 190.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.224/0.224, allocations: 34.25 MB / 294.8 MB, free: 14.52 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 1.673e-06/1.673e-06, allocations: 0 / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.846e-05, allocations: 2.281 kB / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001449/0.001478, allocations: 0.4993 MB / 443.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.003863, allocations: 1.557 MB / 444.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.003882, allocations: 0 / 444.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.003896, allocations: 0 / 444.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.003902, allocations: 0 / 444.7 MB, free: 3.238 MB / 366.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.001044/0.004945, allocations: 302.4 kB / 445 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.213e-05/0.004988, allocations: 4 kB / 445 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.00502, allocations: 3.984 kB / 445 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.271e-05/0.005042, allocations: 0 / 445 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.164e-05/0.005064, allocations: 0 / 445 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-06/0.005071, allocations: 0 / 445 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007582/0.005829, allocations: 438.9 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-06/0.005838, allocations: 4 kB / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.853e-05/0.005856, allocations: 0 / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.006366, allocations: 311.3 kB / 445.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.006369, allocations: 0 / 445.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00637, allocations: 0 / 445.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.006374, allocations: 0 / 445.7 MB, free: 2.199 MB / 366.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.000392/0.006766, allocations: 295.7 kB / 446 MB, free: 1.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.0068, allocations: 8.031 kB / 446 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.006833, allocations: 4.938 kB / 446 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.925e-05/0.006932, allocations: 109.7 kB / 446.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.006944, allocations: 384 / 446.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.006951, allocations: 4.375 kB / 446.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.007054, allocations: 59.95 kB / 446.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.007075, allocations: 192 / 446.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.007082, allocations: 384 / 446.2 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.007089, allocations: 3.938 kB / 446.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.007124, allocations: 29.7 kB / 446.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.00724, allocations: 93.33 kB / 446.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.007305, allocations: 52.25 kB / 446.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.007336, allocations: 34.55 kB / 446.4 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.007344, allocations: 0 / 446.4 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.007393, allocations: 64.33 kB / 446.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.007394, allocations: 3.938 kB / 446.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002183/0.007612, allocations: 118.8 kB / 446.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.007671, allocations: 81.05 kB / 446.7 MB, free: 1.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.007729, allocations: 89.86 kB / 446.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.007749, allocations: 25.7 kB / 446.8 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.007785, allocations: 80.14 kB / 446.9 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.007807, allocations: 7.953 kB / 446.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.007834, allocations: 9.719 kB / 446.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.007981, allocations: 314.8 kB / 447.2 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.00801, allocations: 41.77 kB / 447.2 MB, free: 480 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.008028, allocations: 25.7 kB / 447.2 MB, free: 448 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.879e-05/0.008087, allocations: 64.25 kB / 447.3 MB, free: 368 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008088, allocations: 0 / 447.3 MB, free: 368 kB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.69e-05/0.008185, allocations: 89.11 kB / 447.4 MB, free: 260 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.008216, allocations: 29.7 kB / 447.4 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.008221, allocations: 0 / 447.4 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.008238, allocations: 7.969 kB / 447.4 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.008241, allocations: 8 kB / 447.4 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.008248, allocations: 4.031 kB / 447.4 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.008262, allocations: 4 kB / 447.4 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.008268, allocations: 3.938 kB / 447.4 MB, free: 196 kB / 366.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.0001069/0.008375, allocations: 139.5 kB / 447.6 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.008383, allocations: 0 / 447.6 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.141e-05/0.008394, allocations: 3 kB / 447.6 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.008396, allocations: 0 / 447.6 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008399, allocations: 0 / 447.6 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.008403, allocations: 3.938 kB / 447.6 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1837/0.1921, allocations: 98.55 kB / 447.7 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1921, allocations: 0 / 447.7 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-06/0.1921, allocations: 2.781 kB / 447.7 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1921, allocations: 0 / 447.7 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1921, allocations: 0 / 447.7 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1921, allocations: 1.938 kB / 447.7 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1921, allocations: 0 / 447.7 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1923, allocations: 123.7 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-06/0.1923, allocations: 0.75 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1923, allocations: 2.969 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.1923, allocations: 0 / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.1923, allocations: 2.75 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1923, allocations: 5.266 kB / 447.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.069e-05/0.1923, allocations: 75.28 kB / 447.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1923, allocations: 0 / 447.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.1927, allocations: 72.25 kB / 448 MB, free: 19.03 MB / 366.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.0004452/0.1931, allocations: 191.5 kB / 448.2 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.395e-05/0.1932, allocations: 116.9 kB / 448.3 MB, free: 18.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1932, allocations: 0 / 448.3 MB, free: 18.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.1932, allocations: 81.81 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1934, allocations: 2.125 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.1935, allocations: 112.5 kB / 448.5 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.827e-05/0.1936, allocations: 59.86 kB / 448.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.23e-06/0.1936, allocations: 2.25 kB / 448.5 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.111e-05/0.1936, allocations: 10.19 kB / 448.5 MB, free: 18.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1936, allocations: 0 / 448.5 MB, free: 18.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004116/0.1977, allocations: 1.304 MB / 449.8 MB, free: 18.46 MB / 366.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: 4.836325351148844]