Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002194/0.002194, allocations: 215.7 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2239/0.2239, allocations: 46.89 MB / 359.9 MB, free: 5.023 MB / 286.1 MB [Timeout remaining time 90] 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.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [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.002362/0.002362, allocations: 79.88 kB / 0.4949 GB, free: 8.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3085, allocations: 65.98 MB / 0.5594 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001596/0.3101, allocations: 496.5 kB / 0.5599 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.3133, allocations: 2.058 MB / 0.5619 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-06/0.3133, allocations: 0 / 0.5619 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.527e-06/0.3133, allocations: 0 / 0.5619 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.563e-06/0.3133, allocations: 0 / 0.5619 GB, free: 2.668 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001673/0.315, allocations: 0.5055 MB / 0.5624 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.475e-05/0.315, allocations: 0 / 0.5624 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.315, allocations: 7.984 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-06/0.315, allocations: 0 / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-06/0.315, allocations: 0 / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-06/0.315, allocations: 0 / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.3165, allocations: 0.9746 MB / 0.5633 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.3165, allocations: 3.984 kB / 0.5633 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.3165, allocations: 0 / 0.5633 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.3176, allocations: 0.8051 MB / 0.5641 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3176, allocations: 0 / 0.5641 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3176, allocations: 0 / 0.5641 GB, free: 388 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3176, allocations: 0 / 0.5641 GB, free: 388 kB / 398.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.0004789/0.318, allocations: 382.8 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3181, allocations: 11.97 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.3181, allocations: 80.22 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.3183, allocations: 235.7 kB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.615e-05/0.3184, allocations: 150.9 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.3184, allocations: 158.9 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.169e-05/0.3185, allocations: 105.3 kB / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/0.3186, allocations: 79.27 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.3186, allocations: 154.6 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.717e-05/0.3187, allocations: 158.5 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.3188, allocations: 154.5 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.3191, allocations: 438 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3192, allocations: 177.1 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.3193, allocations: 84.14 kB / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3193, allocations: 75.28 kB / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/0.3194, allocations: 109.8 kB / 0.5665 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.3194, allocations: 0 / 0.5665 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.782e-05/0.3194, allocations: 33.64 kB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.3195, allocations: 160.4 kB / 0.5667 GB, free: 13.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.3196, allocations: 89.86 kB / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3196, allocations: 25.7 kB / 0.5668 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.3196, allocations: 80.14 kB / 0.5669 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.3196, allocations: 0 / 0.5669 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.3197, allocations: 13.72 kB / 0.5669 GB, free: 13.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3198, allocations: 314.8 kB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-06/0.3198, allocations: 0 / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.689e-05/0.3198, allocations: 4 kB / 0.5672 GB, free: 12.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.3199, allocations: 75.28 kB / 0.5673 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.211e-05/0.3199, allocations: 75.28 kB / 0.5674 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.601e-05/0.32, allocations: 29.7 kB / 0.5674 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.32, allocations: 83.22 kB / 0.5675 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/0.3201, allocations: 87.28 kB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.823e-05/0.3201, allocations: 154.6 kB / 0.5677 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-05/0.3202, allocations: 83.3 kB / 0.5678 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.647e-05/0.3202, allocations: 154.6 kB / 0.5679 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.3203, allocations: 75.28 kB / 0.568 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.3203, allocations: 87.22 kB / 0.5681 GB, free: 12.04 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.0001279/0.3205, allocations: 256.4 kB / 0.5683 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.3205, allocations: 108.9 kB / 0.5684 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.3206, allocations: 119.8 kB / 0.5686 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.28e-05/0.3207, allocations: 176.3 kB / 0.5687 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.821e-05/0.3207, allocations: 184.3 kB / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.07e-05/0.3208, allocations: 180.2 kB / 0.5691 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.3211, allocations: 405.2 kB / 0.5695 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.554e-05/0.3211, allocations: 108.9 kB / 0.5696 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.3211, allocations: 101 kB / 0.5697 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.67e-05/0.3212, allocations: 188.1 kB / 0.5698 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.769e-05/0.3213, allocations: 188.2 kB / 0.57 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.252e-05/0.3214, allocations: 176.3 kB / 0.5702 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-05/0.3214, allocations: 180.2 kB / 0.5704 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3216, allocations: 311.8 kB / 0.5707 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.3217, allocations: 182.1 kB / 0.5708 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.3218, allocations: 184.2 kB / 0.571 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.3219, allocations: 104.9 kB / 0.5711 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.3219, allocations: 180.3 kB / 0.5713 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.322, allocations: 104.9 kB / 0.5714 GB, free: 8.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.684e-05/0.322, allocations: 79.27 kB / 0.5715 GB, free: 8.379 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.322, allocations: 0 / 0.5715 GB, free: 8.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006286/0.3227, allocations: 151.6 kB / 0.5716 GB, free: 8.23 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.0007709/0.3234, allocations: 345.1 kB / 0.5719 GB, free: 7.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.025e-05/0.3235, allocations: 3.938 kB / 0.5719 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3235, allocations: 0 / 0.5719 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.3235, allocations: 0 / 0.5719 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3238, allocations: 466.7 kB / 0.5724 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.324, allocations: 174 kB / 0.5725 GB, free: 7.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3243, allocations: 0.669 MB / 0.5732 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.3243, allocations: 7.438 kB / 0.5732 GB, free: 6.516 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3243, allocations: 0 / 0.5732 GB, free: 6.516 MB / 414.1 MB Notification: Performance of Templates: time 0.005886/0.3302, allocations: 2.957 MB / 0.5761 GB, free: 3.562 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches