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.001383/0.001383, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001441/0.001441, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.2282/0.2282, allocations: 46.96 MB / 361.6 MB, free: 4.004 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.001949/0.001949, allocations: 71.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3185, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001681/0.3201, allocations: 0.4893 MB / 0.5623 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.3234, allocations: 1.945 MB / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-06/0.3234, allocations: 4 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.957e-06/0.3234, allocations: 0 / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.182e-06/0.3234, allocations: 0 / 0.5642 GB, free: 1.707 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.001909/0.3253, allocations: 0.5645 MB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.693e-05/0.3253, allocations: 0 / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.486e-05/0.3253, allocations: 7.938 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-06/0.3253, allocations: 0 / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-06/0.3253, allocations: 0 / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-06/0.3253, allocations: 0 / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.3266, allocations: 0.8731 MB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-06/0.3266, allocations: 0 / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.333e-05/0.3267, allocations: 0 / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009149/0.3276, allocations: 0.7701 MB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3276, allocations: 4 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3276, allocations: 4 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3276, allocations: 0 / 0.5663 GB, free: 15.49 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.0003733/0.328, allocations: 301.7 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.328, allocations: 8.031 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.3281, allocations: 80.22 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3282, allocations: 189.7 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.3282, allocations: 154.9 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.3283, allocations: 150.9 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.3284, allocations: 105.3 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.3284, allocations: 75.28 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.3285, allocations: 158.6 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.3286, allocations: 150.6 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.3286, allocations: 154.5 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.3289, allocations: 397.6 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.329, allocations: 165.1 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.3291, allocations: 84.08 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.3291, allocations: 75.28 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.087e-05/0.3292, allocations: 117.9 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.3292, allocations: 0 / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.7e-05/0.3293, allocations: 37.56 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.3293, allocations: 152.4 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.862e-05/0.3294, allocations: 93.86 kB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3294, allocations: 29.7 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.3294, allocations: 80.14 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-06/0.3294, allocations: 0 / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.3295, allocations: 9.719 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3297, allocations: 314.8 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-06/0.3297, allocations: 0 / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.3297, allocations: 25.7 kB / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.3297, allocations: 75.28 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/0.3298, allocations: 75.28 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.552e-05/0.3298, allocations: 41.66 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.3299, allocations: 83.28 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/0.3299, allocations: 83.28 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.022e-05/0.33, allocations: 162.5 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.334e-05/0.33, allocations: 83.22 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.015e-05/0.3301, allocations: 150.6 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.3302, allocations: 83.22 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.3302, allocations: 75.28 kB / 0.5702 GB, free: 11.35 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.0001373/0.3303, allocations: 268.4 kB / 0.5704 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.3304, allocations: 104.9 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.3305, allocations: 115.7 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.696e-05/0.3305, allocations: 180.3 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.539e-05/0.3306, allocations: 180.2 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.182e-05/0.3307, allocations: 184.2 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.3309, allocations: 352.8 kB / 0.5715 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.727e-05/0.331, allocations: 105 kB / 0.5716 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.331, allocations: 101 kB / 0.5717 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.783e-05/0.3311, allocations: 184.2 kB / 0.5719 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-05/0.3312, allocations: 180.2 kB / 0.5721 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.13e-05/0.3313, allocations: 188.1 kB / 0.5722 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-05/0.3313, allocations: 184.2 kB / 0.5724 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3315, allocations: 307.8 kB / 0.5727 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.3315, allocations: 105 kB / 0.5728 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/0.3316, allocations: 184.2 kB / 0.573 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3317, allocations: 104.9 kB / 0.5731 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.3318, allocations: 180.3 kB / 0.5733 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.3319, allocations: 108.9 kB / 0.5734 GB, free: 7.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.666e-05/0.3319, allocations: 75.28 kB / 0.5734 GB, free: 7.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3319, allocations: 0 / 0.5734 GB, free: 7.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005954/0.3325, allocations: 147.6 kB / 0.5736 GB, free: 7.699 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.000746/0.3332, allocations: 355 kB / 0.5739 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.451e-05/0.3333, allocations: 0 / 0.5739 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3333, allocations: 4 kB / 0.5739 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.3333, allocations: 4 kB / 0.5739 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3337, allocations: 463.6 kB / 0.5744 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001545/0.3338, allocations: 148.3 kB / 0.5745 GB, free: 6.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.586e-05/0.3339, allocations: 51.36 kB / 0.5745 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.865e-06/0.3339, allocations: 0 / 0.5745 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.3339, allocations: 11.44 kB / 0.5746 GB, free: 6.637 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3339, allocations: 0 / 0.5746 GB, free: 6.637 MB / 414.1 MB Notification: Performance of Templates: time 0.00709/0.341, allocations: 3.444 MB / 0.5779 GB, free: 3.191 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 -s cvode -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: 5.032359565011575]