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.001881/0.001881, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002624/0.002624, allocations: 208.2 kB / 23.73 MB, free: 4.523 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2227/0.2227, allocations: 46.95 MB / 360.9 MB, free: 4.059 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.002106/0.002106, allocations: 67.89 kB / 0.4966 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3263, allocations: 66.03 MB / 0.5611 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001594/0.3279, allocations: 0.496 MB / 0.5615 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.3313, allocations: 1.954 MB / 0.5634 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-06/0.3313, allocations: 0 / 0.5634 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.158e-06/0.3313, allocations: 0 / 0.5634 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.3313, allocations: 8 kB / 0.5634 GB, free: 1.73 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.002/0.3333, allocations: 0.5527 MB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.77e-05/0.3333, allocations: 4 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.3334, allocations: 7.922 kB / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-06/0.3334, allocations: 4 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-06/0.3334, allocations: 0 / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-06/0.3334, allocations: 0 / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.3348, allocations: 0.8693 MB / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.3348, allocations: 0 / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.3349, allocations: 0 / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.336, allocations: 0.7662 MB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.336, allocations: 0 / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.336, allocations: 0 / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.336, allocations: 0 / 0.5656 GB, free: 15.53 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.0004386/0.3364, allocations: 313.6 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3364, allocations: 12.03 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.3365, allocations: 76.22 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3367, allocations: 177.8 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.3368, allocations: 150.9 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.3369, allocations: 154.9 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.337, allocations: 109.3 kB / 0.5666 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.337, allocations: 75.28 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.3372, allocations: 150.6 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-05/0.3372, allocations: 154.6 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.908e-05/0.3373, allocations: 162.5 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.3376, allocations: 389.6 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3377, allocations: 169.1 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.3378, allocations: 84.14 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.3378, allocations: 75.28 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.178e-05/0.3379, allocations: 113.8 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3379, allocations: 4 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.853e-05/0.338, allocations: 33.62 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3381, allocations: 156.4 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.945e-05/0.3381, allocations: 89.86 kB / 0.5681 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3381, allocations: 25.7 kB / 0.5682 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.3382, allocations: 88.08 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/0.3382, allocations: 4 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.3382, allocations: 9.719 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3384, allocations: 314.8 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-06/0.3384, allocations: 0 / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.3384, allocations: 25.7 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.3384, allocations: 79.28 kB / 0.5687 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.26e-05/0.3385, allocations: 79.22 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.558e-05/0.3385, allocations: 25.7 kB / 0.5688 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/0.3386, allocations: 83.28 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.632e-05/0.3386, allocations: 83.38 kB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-05/0.3387, allocations: 162.5 kB / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.3388, allocations: 87.22 kB / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.447e-05/0.3389, allocations: 154.5 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.3389, allocations: 79.28 kB / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.339, allocations: 79.28 kB / 0.5695 GB, free: 11.39 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.000141/0.3391, allocations: 256.4 kB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.3392, allocations: 112.9 kB / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.493e-05/0.3393, allocations: 111.7 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.518e-05/0.3393, allocations: 180.2 kB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-05/0.3394, allocations: 188.3 kB / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.288e-05/0.3395, allocations: 176.3 kB / 0.5704 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3398, allocations: 352.8 kB / 0.5708 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/0.3398, allocations: 109 kB / 0.5709 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.3399, allocations: 104.9 kB / 0.571 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.686e-05/0.3399, allocations: 176.3 kB / 0.5711 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/0.34, allocations: 184.3 kB / 0.5713 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.004e-05/0.3401, allocations: 188.1 kB / 0.5715 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-05/0.3402, allocations: 176.3 kB / 0.5717 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3404, allocations: 307.8 kB / 0.572 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.3404, allocations: 105 kB / 0.5721 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.3405, allocations: 188.2 kB / 0.5722 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.306e-05/0.3406, allocations: 104.9 kB / 0.5723 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.3407, allocations: 180.2 kB / 0.5725 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.3407, allocations: 105 kB / 0.5726 GB, free: 7.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.3408, allocations: 79.28 kB / 0.5727 GB, free: 7.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3408, allocations: 0 / 0.5727 GB, free: 7.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006042/0.3414, allocations: 147.6 kB / 0.5728 GB, free: 7.742 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.000774/0.3422, allocations: 362.7 kB / 0.5732 GB, free: 7.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.799e-05/0.3422, allocations: 3.938 kB / 0.5732 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3422, allocations: 0 / 0.5732 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.3422, allocations: 0 / 0.5732 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3426, allocations: 459.7 kB / 0.5736 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.3428, allocations: 148.3 kB / 0.5738 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.3428, allocations: 59.34 kB / 0.5738 GB, free: 6.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.035e-06/0.3428, allocations: 0 / 0.5738 GB, free: 6.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.245e-05/0.3429, allocations: 7.438 kB / 0.5738 GB, free: 6.676 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3429, allocations: 0 / 0.5738 GB, free: 6.676 MB / 414.1 MB Notification: Performance of Templates: time 0.008001/0.3509, allocations: 3.451 MB / 0.5772 GB, free: 3.223 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.390431405976415]