Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001979/0.001979, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002433/0.002433, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.91 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 71.89 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3094, allocations: 65.46 MB / 0.5582 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001571/0.311, allocations: 0.4898 MB / 0.5587 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.3141, allocations: 2.079 MB / 0.5607 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-06/0.3142, allocations: 4 kB / 0.5607 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.298e-06/0.3142, allocations: 0 / 0.5607 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.92e-07/0.3142, allocations: 0 / 0.5607 GB, free: 5.113 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.001704/0.3159, allocations: 0.5526 MB / 0.5613 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.284e-05/0.3159, allocations: 0 / 0.5613 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.432e-05/0.3159, allocations: 4 kB / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-06/0.3159, allocations: 0 / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-06/0.3159, allocations: 0 / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-06/0.3159, allocations: 0 / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.3176, allocations: 1.134 MB / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.3176, allocations: 3.984 kB / 0.5624 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.3176, allocations: 0 / 0.5624 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3187, allocations: 0.8402 MB / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3187, allocations: 0 / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3187, allocations: 4 kB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.3187, allocations: 0 / 0.5632 GB, free: 2.578 MB / 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.0003848/0.3191, allocations: 301.7 kB / 0.5635 GB, free: 2.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3191, allocations: 8.031 kB / 0.5635 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.3192, allocations: 84.22 kB / 0.5636 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3193, allocations: 181.8 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.3193, allocations: 150.9 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.3194, allocations: 158.9 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.941e-05/0.3195, allocations: 109.3 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.3195, allocations: 75.28 kB / 0.5642 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.66e-05/0.3196, allocations: 150.6 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-05/0.3197, allocations: 150.6 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.3197, allocations: 154.6 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.3201, allocations: 417 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.3202, allocations: 169.1 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.3202, allocations: 80.14 kB / 0.5653 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.3202, allocations: 79.27 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.332e-05/0.3203, allocations: 125.8 kB / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3203, allocations: 0 / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.265e-05/0.3204, allocations: 29.69 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3205, allocations: 156.3 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.3205, allocations: 89.86 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3206, allocations: 25.7 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.3206, allocations: 80.14 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3206, allocations: 8 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.3206, allocations: 13.66 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3208, allocations: 310.8 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.3208, allocations: 0 / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.3208, allocations: 0 / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.3208, allocations: 79.28 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.179e-05/0.3209, allocations: 75.28 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.56e-05/0.3209, allocations: 29.7 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.321, allocations: 91.25 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/0.321, allocations: 83.28 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.221e-05/0.3211, allocations: 154.6 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.283e-05/0.3211, allocations: 79.22 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.256e-05/0.3212, allocations: 150.6 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.3213, allocations: 79.28 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.3213, allocations: 83.22 kB / 0.5671 GB, free: 14.45 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.0001402/0.3215, allocations: 260.4 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.3215, allocations: 112.9 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.3216, allocations: 111.7 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.268e-05/0.3217, allocations: 180.2 kB / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.582e-05/0.3218, allocations: 180.3 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.729e-05/0.3218, allocations: 188.2 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.3221, allocations: 368.3 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.337e-05/0.3221, allocations: 108.9 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.3222, allocations: 105 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.75e-05/0.3223, allocations: 180.2 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.641e-05/0.3224, allocations: 188.2 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.349e-05/0.3225, allocations: 180.3 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-05/0.3225, allocations: 188.2 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.3227, allocations: 303.7 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3227, allocations: 113 kB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/0.3228, allocations: 180.2 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.3229, allocations: 104.9 kB / 0.57 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.323, allocations: 180.3 kB / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.3231, allocations: 104.9 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.676e-05/0.3231, allocations: 75.28 kB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3231, allocations: 0 / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005926/0.3237, allocations: 159.6 kB / 0.5705 GB, free: 10.75 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.0007553/0.3244, allocations: 351.4 kB / 0.5708 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.499e-05/0.3245, allocations: 0 / 0.5708 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3245, allocations: 4 kB / 0.5708 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3245, allocations: 0 / 0.5708 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.3249, allocations: 459.6 kB / 0.5712 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.3251, allocations: 177.9 kB / 0.5714 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3254, allocations: 0.6729 MB / 0.5721 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.3254, allocations: 11.44 kB / 0.5721 GB, free: 9.031 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3254, allocations: 0 / 0.5721 GB, free: 9.031 MB / 414.1 MB Notification: Performance of Templates: time 0.005616/0.331, allocations: 2.937 MB / 0.5749 GB, free: 6.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.469836039934307]