Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002291/0.002291, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.94 MB / 360.8 MB, free: 3.902 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 87.84 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3429, allocations: 66.09 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001594/0.3445, allocations: 489.1 kB / 0.5616 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.3478, allocations: 1.954 MB / 0.5635 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-06/0.3478, allocations: 0 / 0.5635 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.787e-06/0.3478, allocations: 7.938 kB / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.3478, allocations: 0 / 0.5635 GB, free: 1.484 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001871/0.3497, allocations: 0.5489 MB / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.877e-05/0.3497, allocations: 3.984 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.22e-05/0.3498, allocations: 0 / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-06/0.3498, allocations: 4 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.375e-05/0.3498, allocations: 0 / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.389e-06/0.3498, allocations: 0 / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.3512, allocations: 0.8598 MB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-06/0.3512, allocations: 0 / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.408e-06/0.3513, allocations: 0 / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009984/0.3523, allocations: 0.774 MB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3523, allocations: 3.984 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3523, allocations: 0 / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3523, allocations: 0 / 0.5657 GB, free: 15.3 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.0003999/0.3527, allocations: 305.7 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3527, allocations: 8.031 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.3528, allocations: 76.22 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3529, allocations: 185.8 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.353, allocations: 150.9 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/0.3531, allocations: 150.9 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.3532, allocations: 109.2 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.3532, allocations: 75.28 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/0.3533, allocations: 154.6 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.794e-05/0.3534, allocations: 150.6 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.3535, allocations: 158.6 kB / 0.5671 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.3538, allocations: 401.6 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3539, allocations: 169.1 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.3539, allocations: 80.14 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.354, allocations: 79.22 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.49e-05/0.354, allocations: 109.9 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.354, allocations: 3.938 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.921e-05/0.3541, allocations: 33.64 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3542, allocations: 156.4 kB / 0.5681 GB, free: 12.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.63e-05/0.3543, allocations: 93.86 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3543, allocations: 33.64 kB / 0.5683 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.3543, allocations: 84.12 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-06/0.3543, allocations: 0 / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.3544, allocations: 9.719 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3545, allocations: 318.8 kB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/0.3545, allocations: 0 / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.3545, allocations: 25.7 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.3546, allocations: 75.28 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.198e-05/0.3546, allocations: 75.28 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.772e-05/0.3547, allocations: 29.7 kB / 0.5688 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.3547, allocations: 81.31 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/0.3547, allocations: 87.33 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.873e-05/0.3548, allocations: 162.5 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.011e-05/0.3548, allocations: 75.28 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-05/0.3549, allocations: 158.5 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.355, allocations: 79.28 kB / 0.5695 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.355, allocations: 79.22 kB / 0.5695 GB, free: 11.16 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.0001423/0.3552, allocations: 260.4 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.3552, allocations: 105 kB / 0.5699 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.3553, allocations: 115.6 kB / 0.57 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-05/0.3554, allocations: 184.2 kB / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-05/0.3555, allocations: 180.3 kB / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-05/0.3556, allocations: 180.2 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.3559, allocations: 352.9 kB / 0.5708 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-05/0.3559, allocations: 108.9 kB / 0.571 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/0.356, allocations: 105 kB / 0.5711 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.579e-05/0.3561, allocations: 184.2 kB / 0.5712 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/0.3562, allocations: 180.2 kB / 0.5714 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.308e-05/0.3563, allocations: 180.2 kB / 0.5716 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.563e-05/0.3563, allocations: 184.2 kB / 0.5717 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.3565, allocations: 303.8 kB / 0.572 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.3565, allocations: 104.9 kB / 0.5721 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.3566, allocations: 192.2 kB / 0.5723 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.3567, allocations: 112.8 kB / 0.5724 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3568, allocations: 180.3 kB / 0.5726 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.3569, allocations: 105 kB / 0.5727 GB, free: 7.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.467e-05/0.3569, allocations: 79.22 kB / 0.5728 GB, free: 7.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3569, allocations: 0 / 0.5728 GB, free: 7.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005815/0.3575, allocations: 159.5 kB / 0.5729 GB, free: 7.492 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.0007079/0.3582, allocations: 338.5 kB / 0.5733 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.429e-05/0.3583, allocations: 3.984 kB / 0.5733 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3583, allocations: 0 / 0.5733 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.447e-06/0.3583, allocations: 4 kB / 0.5733 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3586, allocations: 458.4 kB / 0.5737 GB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/0.3588, allocations: 156.3 kB / 0.5738 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.3588, allocations: 51.36 kB / 0.5739 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.464e-06/0.3589, allocations: 0 / 0.5739 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.3589, allocations: 11.44 kB / 0.5739 GB, free: 6.438 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3589, allocations: 3.938 kB / 0.5739 GB, free: 6.434 MB / 414.1 MB Notification: Performance of Templates: time 0.007406/0.3663, allocations: 3.433 MB / 0.5773 GB, free: 2.996 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.344950567930937]