Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001522/0.001522, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.001688/0.001688, allocations: 207 kB / 24.48 MB, free: 4.035 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.423/1.423, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2205/0.2205, allocations: 46.89 MB / 361.1 MB, free: 4.66 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 83.86 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2992, allocations: 65.98 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001647/0.3009, allocations: 496.9 kB / 0.5617 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.3035, allocations: 1.633 MB / 0.5633 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.3035, allocations: 0 / 0.5633 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.3035, allocations: 0 / 0.5633 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-06/0.3035, allocations: 3.938 kB / 0.5633 GB, free: 2.906 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.0008799/0.3044, allocations: 263.3 kB / 0.5635 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.394e-05/0.3044, allocations: 4 kB / 0.5635 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.3045, allocations: 4 kB / 0.5635 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.3045, allocations: 8 kB / 0.5635 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.158e-05/0.3045, allocations: 4 kB / 0.5635 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-06/0.3045, allocations: 0 / 0.5635 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.3053, allocations: 0.534 MB / 0.564 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.3053, allocations: 4 kB / 0.5641 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.3053, allocations: 0 / 0.5641 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.3057, allocations: 310 kB / 0.5643 GB, free: 1.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3057, allocations: 4 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3057, allocations: 0 / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3058, allocations: 0 / 0.5644 GB, free: 1.785 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.0005011/0.3063, allocations: 376.8 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3063, allocations: 15.95 kB / 0.5647 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.3063, allocations: 0.9375 kB / 0.5647 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3065, allocations: 164.4 kB / 0.5649 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3065, allocations: 384 / 0.5649 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3065, allocations: 384 / 0.5649 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.743e-05/0.3066, allocations: 37.95 kB / 0.5649 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3066, allocations: 4 kB / 0.5649 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.3066, allocations: 0 / 0.5649 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3066, allocations: 0 / 0.5649 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.413e-05/0.3066, allocations: 0 / 0.5649 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.3068, allocations: 149.7 kB / 0.5651 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.3068, allocations: 18.61 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.3068, allocations: 4.859 kB / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.3068, allocations: 4 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/0.3069, allocations: 68.2 kB / 0.5652 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3069, allocations: 0 / 0.5652 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000192/0.3071, allocations: 71.38 kB / 0.5652 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.3071, allocations: 77.11 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.3072, allocations: 97.75 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3072, allocations: 25.7 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.3072, allocations: 80.27 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.3072, allocations: 4 kB / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.3073, allocations: 13.72 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3074, allocations: 314.8 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.3074, allocations: 3.984 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.214e-06/0.3074, allocations: 4 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.06e-05/0.3075, allocations: 64.2 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3075, allocations: 0 / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.324e-05/0.3076, allocations: 63.47 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.3076, allocations: 37.69 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3076, allocations: 7.938 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3076, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.3076, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3076, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.3077, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3077, allocations: 0 / 0.566 GB, free: 15.84 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 9.968e-05/0.3078, allocations: 135.5 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.3078, allocations: 4.031 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.345e-05/0.3078, allocations: 7.062 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3078, allocations: 0 / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3078, allocations: 0 / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.3078, allocations: 85.09 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3078, allocations: 3.938 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.3078, allocations: 3.938 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.3079, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001403/0.308, allocations: 194.1 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001572/0.3082, allocations: 240.5 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.051e-05/0.3082, allocations: 11.92 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.3082, allocations: 75.28 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.3082, allocations: 0 / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.3089, allocations: 227.4 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004064/0.3093, allocations: 0.5834 MB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Templates: time 0.00411/0.3134, allocations: 1.292 MB / 0.5688 GB, free: 12.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.685557450633496]