Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 46.96 MB / 361.6 MB, free: 4.043 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 75.88 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 66.04 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001591/0.3089, allocations: 497 kB / 0.5623 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.3119, allocations: 1.961 MB / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-06/0.3119, allocations: 0 / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-06/0.3119, allocations: 4 kB / 0.5642 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.282e-06/0.3119, allocations: 0 / 0.5642 GB, free: 1.723 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.3137, allocations: 0.5642 MB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.215e-05/0.3137, allocations: 0 / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.374e-05/0.3137, allocations: 0 / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-06/0.3137, allocations: 4 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-06/0.3137, allocations: 0 / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-06/0.3137, allocations: 0 / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.3151, allocations: 0.8732 MB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-06/0.3151, allocations: 0 / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.3152, allocations: 3.984 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009788/0.3161, allocations: 0.7662 MB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3161, allocations: 4 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3161, allocations: 3.938 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3161, allocations: 4 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003862/0.3165, allocations: 301.7 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3166, allocations: 8.031 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.675e-05/0.3166, allocations: 76.22 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3167, allocations: 181.8 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.3168, allocations: 158.9 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.3169, allocations: 150.9 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.326e-05/0.3169, allocations: 105.3 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.317, allocations: 75.28 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.317, allocations: 158.5 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.203e-05/0.3171, allocations: 154.6 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.609e-05/0.3172, allocations: 150.6 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.3174, allocations: 401.6 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.317e-05/0.3175, allocations: 165.1 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.3176, allocations: 84.08 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.3176, allocations: 75.28 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/0.3177, allocations: 113.9 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.3177, allocations: 3.984 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.994e-05/0.3177, allocations: 29.64 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.3178, allocations: 156.4 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.518e-05/0.3179, allocations: 89.86 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3179, allocations: 41.58 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.3179, allocations: 80.14 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-06/0.3179, allocations: 0 / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.318, allocations: 13.7 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3181, allocations: 314.8 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.3181, allocations: 0 / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.3181, allocations: 29.64 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/0.3182, allocations: 75.28 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.854e-05/0.3182, allocations: 75.28 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.32e-05/0.3182, allocations: 29.7 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.3183, allocations: 83.31 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/0.3183, allocations: 75.36 kB / 0.5697 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8e-05/0.3184, allocations: 170.5 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.117e-05/0.3184, allocations: 79.27 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.504e-05/0.3185, allocations: 154.5 kB / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.3186, allocations: 79.28 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.3186, allocations: 75.28 kB / 0.5702 GB, free: 11.38 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001391/0.3187, allocations: 264.3 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.3188, allocations: 105 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.3189, allocations: 115.7 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.776e-05/0.3189, allocations: 192.2 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.489e-05/0.319, allocations: 176.3 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.723e-05/0.3191, allocations: 180.2 kB / 0.5712 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.3193, allocations: 352.9 kB / 0.5715 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/0.3194, allocations: 109 kB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.3194, allocations: 104.9 kB / 0.5717 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.629e-05/0.3195, allocations: 180.3 kB / 0.5719 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/0.3196, allocations: 180.2 kB / 0.5721 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-05/0.3196, allocations: 180.2 kB / 0.5722 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.8e-05/0.3197, allocations: 184.2 kB / 0.5724 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.3199, allocations: 303.8 kB / 0.5727 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.3199, allocations: 108.9 kB / 0.5728 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.32, allocations: 184.2 kB / 0.573 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.3201, allocations: 108.9 kB / 0.5731 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.3202, allocations: 184.2 kB / 0.5733 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.3202, allocations: 101 kB / 0.5734 GB, free: 7.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.825e-05/0.3202, allocations: 79.22 kB / 0.5734 GB, free: 7.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3202, allocations: 0 / 0.5734 GB, free: 7.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006096/0.3209, allocations: 151.6 kB / 0.5736 GB, free: 7.723 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0007456/0.3216, allocations: 343.4 kB / 0.5739 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.864e-05/0.3217, allocations: 3.938 kB / 0.5739 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3217, allocations: 4 kB / 0.5739 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.3217, allocations: 0 / 0.5739 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.322, allocations: 462.5 kB / 0.5744 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.3222, allocations: 174 kB / 0.5745 GB, free: 6.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.3222, allocations: 51.36 kB / 0.5746 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.3223, allocations: 7.438 kB / 0.5746 GB, free: 6.641 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3223, allocations: 0 / 0.5746 GB, free: 6.641 MB / 414.1 MB Notification: Performance of Templates: time 0.00553/0.3278, allocations: 2.953 MB / 0.5775 GB, free: 3.684 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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: 9.368872446997557]