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.001775/0.001775, 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.002172/0.002172, 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.3 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.228/0.228, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.002086/0.002086, allocations: 67.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001558/0.3089, allocations: 485.1 kB / 0.5623 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.3119, allocations: 1.953 MB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-06/0.3119, allocations: 4 kB / 0.5642 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.604e-06/0.3119, allocations: 0 / 0.5642 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.002e-06/0.3119, allocations: 0 / 0.5642 GB, free: 1.688 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.0017/0.3136, allocations: 0.5568 MB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.236e-05/0.3136, allocations: 0 / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.669e-05/0.3136, allocations: 7.984 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-06/0.3136, allocations: 0 / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-06/0.3136, allocations: 0 / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-06/0.3136, allocations: 4 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.315, allocations: 0.8731 MB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.29e-06/0.315, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.427e-06/0.315, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009656/0.3159, allocations: 0.774 MB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3159, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3159, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.316, allocations: 4 kB / 0.5663 GB, free: 15.47 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.0003806/0.3163, allocations: 301.7 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.3164, allocations: 8.031 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.3164, allocations: 80.16 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3165, allocations: 181.8 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.3167, allocations: 154.9 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.3167, allocations: 150.9 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.46e-05/0.3168, allocations: 105.3 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.3168, allocations: 83.27 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.3169, allocations: 150.6 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-05/0.317, allocations: 154.6 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.428e-05/0.317, allocations: 154.5 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.3173, allocations: 397.6 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.3174, allocations: 165.1 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.3174, allocations: 80.14 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.3175, allocations: 79.28 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.3175, allocations: 117.8 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3175, allocations: 3.938 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.937e-05/0.3176, allocations: 33.58 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.3177, allocations: 160.4 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.3177, allocations: 97.84 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3177, allocations: 25.7 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.3178, allocations: 80.14 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.3178, allocations: 0 / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.3178, allocations: 13.72 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.318, allocations: 310.8 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.318, allocations: 0 / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.318, allocations: 25.7 kB / 0.5693 GB, free: 12.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.318, allocations: 75.28 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.125e-05/0.3181, allocations: 75.28 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.689e-05/0.3181, allocations: 33.64 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.3182, allocations: 83.31 kB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.491e-05/0.3182, allocations: 79.36 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.68e-05/0.3183, allocations: 170.4 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.3183, allocations: 75.28 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.193e-05/0.3184, allocations: 154.6 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.3185, allocations: 79.22 kB / 0.5701 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.3185, allocations: 75.28 kB / 0.5702 GB, free: 11.34 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.0001293/0.3186, allocations: 260.4 kB / 0.5704 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.3187, allocations: 112.9 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.3188, allocations: 111.7 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.932e-05/0.3189, allocations: 184.3 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-05/0.3189, allocations: 180.2 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.204e-05/0.319, allocations: 176.3 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3192, allocations: 360.8 kB / 0.5715 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-05/0.3193, allocations: 105 kB / 0.5716 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.3193, allocations: 105 kB / 0.5717 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.807e-05/0.3194, allocations: 180.2 kB / 0.5719 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.757e-05/0.3195, allocations: 176.3 kB / 0.572 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-05/0.3196, allocations: 192.1 kB / 0.5722 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.278e-05/0.3197, allocations: 176.3 kB / 0.5724 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3199, allocations: 303.8 kB / 0.5727 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.3199, allocations: 113 kB / 0.5728 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.32, allocations: 188.1 kB / 0.573 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.215e-05/0.3201, allocations: 104.9 kB / 0.5731 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.3202, allocations: 180.3 kB / 0.5732 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.3202, allocations: 104.9 kB / 0.5733 GB, free: 7.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.3202, allocations: 75.28 kB / 0.5734 GB, free: 7.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3202, allocations: 3.938 kB / 0.5734 GB, free: 7.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005683/0.3208, allocations: 155.6 kB / 0.5736 GB, free: 7.684 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.0007624/0.3216, allocations: 361.8 kB / 0.5739 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.815e-05/0.3216, allocations: 4 kB / 0.5739 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3216, allocations: 0 / 0.5739 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.3216, allocations: 3.938 kB / 0.5739 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.322, allocations: 459.7 kB / 0.5744 GB, free: 6.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.3222, allocations: 148.3 kB / 0.5745 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.3222, allocations: 51.36 kB / 0.5746 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.13e-05/0.3222, allocations: 7.984 kB / 0.5746 GB, free: 6.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.254e-05/0.3223, allocations: 7.438 kB / 0.5746 GB, free: 6.617 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3223, allocations: 0 / 0.5746 GB, free: 6.617 MB / 414.1 MB Notification: Performance of Templates: time 0.007555/0.3298, allocations: 3.437 MB / 0.5779 GB, free: 3.176 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 gbode -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: 4.993779002994415]