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.001317/0.001317, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001557/0.001557, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2294/0.2294, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.002094/0.002094, allocations: 71.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3558, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001801/0.3576, allocations: 493 kB / 0.5623 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.361, allocations: 1.969 MB / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-06/0.361, allocations: 0 / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.849e-06/0.361, allocations: 0 / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.684e-06/0.361, allocations: 0 / 0.5642 GB, free: 1.727 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.002079/0.363, allocations: 0.5605 MB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.35e-05/0.3631, allocations: 3.984 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.987e-05/0.3631, allocations: 0 / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-06/0.3631, allocations: 0 / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-06/0.3631, allocations: 0 / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.577e-06/0.3631, allocations: 0 / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.3645, allocations: 0.8771 MB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.3646, allocations: 0 / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.3646, allocations: 0 / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009837/0.3656, allocations: 0.7623 MB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3656, allocations: 3.938 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3656, allocations: 4 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3656, allocations: 0 / 0.5664 GB, free: 15.52 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.0004062/0.366, allocations: 305.7 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.366, allocations: 12.03 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.3661, allocations: 76.22 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3662, allocations: 181.8 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.3663, allocations: 150.9 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.3663, allocations: 154.9 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.667e-05/0.3664, allocations: 105.3 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/0.3665, allocations: 79.28 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/0.3666, allocations: 158.5 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/0.3666, allocations: 154.6 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.3667, allocations: 150.6 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.367, allocations: 393.6 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.3671, allocations: 177.1 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.3672, allocations: 84.14 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.3672, allocations: 79.22 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/0.3673, allocations: 113.9 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3673, allocations: 0 / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.665e-05/0.3674, allocations: 29.64 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.3674, allocations: 81.05 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.6e-05/0.3675, allocations: 93.8 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3675, allocations: 25.7 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.3675, allocations: 80.14 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.3675, allocations: 4 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.3676, allocations: 13.72 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3677, allocations: 314.8 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-06/0.3677, allocations: 0 / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.3677, allocations: 29.69 kB / 0.5693 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.3678, allocations: 83.22 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.64e-05/0.3678, allocations: 75.28 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.4e-05/0.3679, allocations: 25.7 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.3679, allocations: 83.28 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.865e-05/0.368, allocations: 75.36 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.233e-05/0.368, allocations: 162.5 kB / 0.5697 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.367e-05/0.3681, allocations: 79.28 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-05/0.3682, allocations: 162.5 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.3682, allocations: 79.27 kB / 0.5701 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.3683, allocations: 79.28 kB / 0.5701 GB, free: 11.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.0001512/0.3684, allocations: 256.4 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.3685, allocations: 108.9 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.3686, allocations: 107.8 kB / 0.5706 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001372/0.3687, allocations: 188.1 kB / 0.5708 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.863e-05/0.3688, allocations: 105 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3689, allocations: 109 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/0.369, allocations: 180.2 kB / 0.5711 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.3691, allocations: 109 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/0.3692, allocations: 188.2 kB / 0.5714 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001236/0.3693, allocations: 259.5 kB / 0.5717 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002044/0.3695, allocations: 379 kB / 0.572 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.109e-05/0.3696, allocations: 101 kB / 0.5721 GB, free: 9.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.3696, allocations: 79.28 kB / 0.5722 GB, free: 9.223 MB / 414.1 MB Notification: Performance of Backend: time 1.3e-07/0.3696, allocations: 0 / 0.5722 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3707, allocations: 258.1 kB / 0.5724 GB, free: 8.977 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005353/0.3712, allocations: 0.8968 MB / 0.5733 GB, free: 8.027 MB / 414.1 MB Notification: Performance of Templates: time 0.007602/0.3788, allocations: 3.44 MB / 0.5767 GB, free: 4.586 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/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.1739790059946245]