Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.0009573/0.0009573, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001128/0.001128, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9684/0.9684, allocations: 177 MB / 205.2 MB, free: 5.047 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.2479/0.2479, allocations: 34.86 MB / 296.6 MB, free: 404 kB / 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.732e-05, allocations: 2.312 kB / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001137/0.001155, allocations: 0.5446 MB / 326.5 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.003345, allocations: 2.122 MB / 328.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.003362, allocations: 4 kB / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.003373, allocations: 0 / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.003379, allocations: 0 / 328.6 MB, free: 4.441 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.004624, allocations: 0.7284 MB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.191e-05/0.004676, allocations: 0.625 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.004719, allocations: 11.97 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.004745, allocations: 0 / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.609e-05/0.004761, allocations: 3.938 kB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.004768, allocations: 0 / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.006274, allocations: 1.63 MB / 331 MB, free: 2.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-06/0.00628, allocations: 0 / 331 MB, free: 2.062 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.153e-05/0.006292, allocations: 0 / 331 MB, free: 2.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.007536, allocations: 1.879 MB / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.007538, allocations: 0 / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.007539, allocations: 0 / 332.9 MB, free: 180 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.007543, allocations: 0 / 332.9 MB, free: 180 kB / 298.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.0004273/0.00797, allocations: 342.4 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.007997, allocations: 12.03 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.87e-05/0.008016, allocations: 0.9375 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.91e-05/0.008065, allocations: 109.8 kB / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.008073, allocations: 384 / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-06/0.008078, allocations: 384 / 333.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.335e-05/0.008131, allocations: 59.91 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.008137, allocations: 192 / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-06/0.008142, allocations: 384 / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.008147, allocations: 3.938 kB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.008164, allocations: 37.67 kB / 333.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.575e-05/0.00822, allocations: 57.05 kB / 333.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.008263, allocations: 44.31 kB / 333.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.008279, allocations: 30.56 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-06/0.008282, allocations: 0 / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.008317, allocations: 68.25 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.008318, allocations: 0 / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001145/0.008432, allocations: 114.8 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.008464, allocations: 81.11 kB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.826e-05/0.008492, allocations: 90.55 kB / 333.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.0085, allocations: 25.83 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.008519, allocations: 84.14 kB / 334 MB, free: 14.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.008532, allocations: 0.6875 kB / 334 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.008551, allocations: 13.72 kB / 334 MB, free: 14.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.008626, allocations: 318.8 kB / 334.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.008636, allocations: 25.7 kB / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.008651, allocations: 29.7 kB / 334.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.008685, allocations: 64.2 kB / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008686, allocations: 0 / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.389e-05/0.00873, allocations: 89.09 kB / 334.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.008757, allocations: 33.8 kB / 334.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.008763, allocations: 4 kB / 334.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.008772, allocations: 0 / 334.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.008773, allocations: 0 / 334.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.008781, allocations: 3.938 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.008791, allocations: 4 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.008796, allocations: 3.938 kB / 334.6 MB, free: 14.21 MB / 314.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 5.744e-05/0.008854, allocations: 139.5 kB / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-06/0.008858, allocations: 0 / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.873e-06/0.008865, allocations: 3 kB / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008866, allocations: 8 kB / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.008867, allocations: 0 / 334.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.00887, allocations: 3.938 kB / 334.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.044e-05/0.00891, allocations: 62.19 kB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.008911, allocations: 0 / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-07/0.008911, allocations: 0 / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.008912, allocations: 4 kB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.008918, allocations: 3.984 kB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.008919, allocations: 0 / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.008919, allocations: 0 / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.721e-05/0.008976, allocations: 116.5 kB / 334.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.008982, allocations: 7.984 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.008991, allocations: 0 / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-06/0.008994, allocations: 0 / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-06/0.009001, allocations: 0 / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.009003, allocations: 4 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.145e-06/0.009011, allocations: 4.859 kB / 334.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009011, allocations: 0 / 334.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004787/0.00949, allocations: 291.6 kB / 335.2 MB, free: 13.51 MB / 314.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.0008611/0.01035, allocations: 0.4931 MB / 335.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.01043, allocations: 123.7 kB / 335.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01043, allocations: 0 / 335.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.677e-05/0.01046, allocations: 89.97 kB / 335.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.712e-05/0.0105, allocations: 10.05 kB / 335.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001252/0.01063, allocations: 104.9 kB / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.473e-05/0.01065, allocations: 55.34 kB / 336.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.961e-06/0.01066, allocations: 4 kB / 336.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.01069, allocations: 51.38 kB / 336.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01069, allocations: 0 / 336.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of Templates: time 0.01008/0.02077, allocations: 9.402 MB / 345.5 MB, free: 3.098 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.459056909196079]