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.001942/0.001942, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001879/0.001879, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2459/0.2459, allocations: 46.95 MB / 360.9 MB, free: 4.316 MB / 286.1 MB " [Timeout remaining time 179] 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.002078/0.002078, allocations: 59.91 kB / 0.4966 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 66.03 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002168/0.3344, allocations: 0.4931 MB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.338, allocations: 2.08 MB / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-06/0.338, allocations: 0 / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.444e-06/0.338, allocations: 0 / 0.5636 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.312e-06/0.338, allocations: 0 / 0.5636 GB, free: 1.828 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.002103/0.3401, allocations: 0.5609 MB / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.263e-05/0.3401, allocations: 7.938 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.814e-05/0.3401, allocations: 0 / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-06/0.3401, allocations: 0 / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-06/0.3401, allocations: 0 / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-06/0.3401, allocations: 0 / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.3418, allocations: 1.138 MB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.3419, allocations: 0 / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.3419, allocations: 0 / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.343, allocations: 0.8325 MB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.343, allocations: 0 / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.343, allocations: 4 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.343, allocations: 3.938 kB / 0.5661 GB, free: 15.29 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.0003725/0.3434, allocations: 305.7 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3434, allocations: 12.02 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.3435, allocations: 76.22 kB / 0.5665 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3436, allocations: 181.8 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.469e-05/0.3437, allocations: 154.9 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.255e-05/0.3437, allocations: 154.9 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.87e-05/0.3438, allocations: 105.3 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.3439, allocations: 75.28 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.3439, allocations: 150.6 kB / 0.5673 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.018e-05/0.344, allocations: 150.6 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.935e-05/0.3441, allocations: 162.5 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.3444, allocations: 413 kB / 0.568 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3445, allocations: 169.1 kB / 0.5681 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.3446, allocations: 80.14 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.3446, allocations: 79.22 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.383e-05/0.3447, allocations: 121.8 kB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3447, allocations: 0 / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.078e-05/0.3448, allocations: 29.7 kB / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3449, allocations: 156.4 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.974e-05/0.3449, allocations: 89.86 kB / 0.5686 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3449, allocations: 25.7 kB / 0.5687 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.345, allocations: 84.14 kB / 0.5687 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.345, allocations: 4 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.345, allocations: 9.719 kB / 0.5688 GB, free: 12.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3452, allocations: 310.8 kB / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-06/0.3452, allocations: 0 / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.3452, allocations: 3.984 kB / 0.5691 GB, free: 12.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.3453, allocations: 79.28 kB / 0.5691 GB, free: 11.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/0.3453, allocations: 75.28 kB / 0.5692 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.591e-05/0.3454, allocations: 29.64 kB / 0.5692 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.3454, allocations: 95.19 kB / 0.5693 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.223e-05/0.3454, allocations: 79.36 kB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.239e-05/0.3455, allocations: 158.5 kB / 0.5696 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.3456, allocations: 79.28 kB / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.429e-05/0.3456, allocations: 154.6 kB / 0.5698 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.315e-05/0.3457, allocations: 83.2 kB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.3458, allocations: 79.28 kB / 0.5699 GB, free: 11.15 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.0001401/0.3459, allocations: 256.4 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.346, allocations: 116.9 kB / 0.5703 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.346, allocations: 107.8 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.011e-05/0.3461, allocations: 176.3 kB / 0.5706 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/0.3462, allocations: 192.2 kB / 0.5707 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.552e-05/0.3463, allocations: 176.3 kB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3466, allocations: 372.2 kB / 0.5713 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-05/0.3466, allocations: 105 kB / 0.5714 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.3467, allocations: 112.9 kB / 0.5715 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.38e-05/0.3468, allocations: 180.2 kB / 0.5716 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.3468, allocations: 180.3 kB / 0.5718 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.531e-05/0.3469, allocations: 180.2 kB / 0.572 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-05/0.347, allocations: 184.3 kB / 0.5722 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.3472, allocations: 307.7 kB / 0.5725 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.3472, allocations: 105 kB / 0.5726 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/0.3473, allocations: 188.1 kB / 0.5727 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3474, allocations: 109 kB / 0.5728 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/0.3475, allocations: 180.2 kB / 0.573 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.3476, allocations: 105 kB / 0.5731 GB, free: 7.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.951e-05/0.3476, allocations: 75.28 kB / 0.5732 GB, free: 7.613 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3476, allocations: 4 kB / 0.5732 GB, free: 7.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006159/0.3482, allocations: 151.6 kB / 0.5733 GB, free: 7.461 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.0007297/0.3489, allocations: 344.2 kB / 0.5737 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.933e-05/0.349, allocations: 3.984 kB / 0.5737 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.349, allocations: 4 kB / 0.5737 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.349, allocations: 3.938 kB / 0.5737 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3494, allocations: 451.7 kB / 0.5741 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001783/0.3496, allocations: 152.8 kB / 0.5742 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3499, allocations: 0.669 MB / 0.5749 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.028e-05/0.3499, allocations: 4 kB / 0.5749 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.3499, allocations: 7.438 kB / 0.5749 GB, free: 5.781 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3499, allocations: 0 / 0.5749 GB, free: 5.781 MB / 414.1 MB Notification: Performance of Templates: time 0.007842/0.3577, allocations: 3.46 MB / 0.5783 GB, free: 2.324 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/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.462610453832895]