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.002645/0.002645, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002326/0.002326, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.52/1.52, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2499/0.2499, allocations: 46.97 MB / 361.6 MB, free: 4.012 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.002455/0.002455, allocations: 67.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4213, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001665/0.423, allocations: 495.9 kB / 0.5623 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.4268, allocations: 1.957 MB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-06/0.4268, allocations: 0 / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.16e-06/0.4268, allocations: 0 / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.413e-06/0.4268, allocations: 4 kB / 0.5642 GB, free: 1.691 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.002122/0.4289, allocations: 0.5529 MB / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.945e-05/0.429, allocations: 0 / 0.5647 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.429, allocations: 3.984 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.429, allocations: 11.98 kB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.168e-05/0.429, allocations: 3.938 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-06/0.429, allocations: 0 / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.4307, allocations: 0.8575 MB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.4307, allocations: 0 / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.4307, allocations: 0 / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.432, allocations: 0.7624 MB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.432, allocations: 3.938 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.432, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.432, allocations: 0 / 0.5663 GB, free: 15.5 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.0004981/0.4325, allocations: 309.7 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.4326, allocations: 8.031 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.4327, allocations: 76.22 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.4328, allocations: 185.8 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.4329, allocations: 150.9 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/0.433, allocations: 150.9 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.4331, allocations: 105.3 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/0.4331, allocations: 83.28 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.4332, allocations: 154.5 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.051e-05/0.4333, allocations: 150.6 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.4334, allocations: 158.5 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.4337, allocations: 393.6 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.4339, allocations: 169.1 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.4339, allocations: 80.14 kB / 0.5684 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.316e-05/0.434, allocations: 79.28 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.595e-05/0.4341, allocations: 109.9 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.4341, allocations: 0 / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.899e-05/0.4341, allocations: 33.58 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.4343, allocations: 156.4 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.4344, allocations: 97.78 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4344, allocations: 29.7 kB / 0.5689 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.4345, allocations: 80.14 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.4345, allocations: 0 / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.4345, allocations: 17.72 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.4347, allocations: 310.8 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-06/0.4347, allocations: 0 / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.4348, allocations: 25.7 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.4349, allocations: 75.28 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.823e-05/0.4349, allocations: 75.28 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.06e-05/0.435, allocations: 33.64 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.213e-05/0.435, allocations: 79.28 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/0.4351, allocations: 87.39 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.4352, allocations: 162.5 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.804e-05/0.4353, allocations: 83.16 kB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001488/0.4354, allocations: 158.6 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.95e-05/0.4355, allocations: 79.22 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.4355, allocations: 75.28 kB / 0.5702 GB, free: 11.36 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.0001658/0.4357, allocations: 260.4 kB / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.4358, allocations: 104.9 kB / 0.5705 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.4358, allocations: 115.7 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.596e-05/0.4359, allocations: 184.3 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001008/0.436, allocations: 184.2 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.335e-05/0.4361, allocations: 184.2 kB / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.4364, allocations: 352.8 kB / 0.5715 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.354e-05/0.4365, allocations: 105 kB / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.4365, allocations: 105 kB / 0.5717 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.489e-05/0.4366, allocations: 184.2 kB / 0.5719 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.482e-05/0.4367, allocations: 176.3 kB / 0.572 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.914e-05/0.4368, allocations: 192.1 kB / 0.5722 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001033/0.4369, allocations: 176.3 kB / 0.5724 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.4371, allocations: 303.8 kB / 0.5727 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.4372, allocations: 105 kB / 0.5728 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.4373, allocations: 188.2 kB / 0.573 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.4374, allocations: 104.9 kB / 0.5731 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4375, allocations: 184.3 kB / 0.5732 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.4376, allocations: 108.9 kB / 0.5733 GB, free: 7.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.658e-05/0.4376, allocations: 75.28 kB / 0.5734 GB, free: 7.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4376, allocations: 0 / 0.5734 GB, free: 7.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.4384, allocations: 155.6 kB / 0.5736 GB, free: 7.703 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.0008663/0.4392, allocations: 346.5 kB / 0.5739 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.98e-05/0.4393, allocations: 8 kB / 0.5739 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4393, allocations: 0 / 0.5739 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.4393, allocations: 0 / 0.5739 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.4398, allocations: 459.6 kB / 0.5743 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.44, allocations: 174 kB / 0.5745 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.4401, allocations: 51.36 kB / 0.5746 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.4401, allocations: 11.44 kB / 0.5746 GB, free: 6.621 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4401, allocations: 0 / 0.5746 GB, free: 6.621 MB / 414.1 MB Notification: Performance of Templates: time 0.007303/0.4474, allocations: 2.951 MB / 0.5774 GB, free: 3.672 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: 9.621973050292581]