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.001883/0.001883, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002032/0.002032, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.684/1.684, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.3735/0.3735, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 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 1.613e-06/1.613e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/2.999e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001496/0.001526, allocations: 497 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.005236, allocations: 2.001 MB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-06/0.005242, allocations: 0 / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.117e-06/0.005247, allocations: 3.938 kB / 379.7 MB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.674e-06/0.005248, allocations: 0 / 379.7 MB, free: 484 kB / 346.7 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.001887/0.007135, allocations: 0.5646 MB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 1.468e-05/0.00715, allocations: 0 / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.2e-05/0.007182, allocations: 4 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.225e-05/0.007194, allocations: 0 / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-06/0.007204, allocations: 0 / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.007213, allocations: 0 / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.008829, allocations: 0.8575 MB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.008836, allocations: 0 / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.008854, allocations: 0 / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.01037, allocations: 0.826 MB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01038, allocations: 0 / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01038, allocations: 0 / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.01038, allocations: 4 kB / 382 MB, free: 14.21 MB / 362.7 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.0004688/0.01085, allocations: 399.7 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.0109, allocations: 12.03 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.01101, allocations: 128.1 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.01118, allocations: 231.8 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.01131, allocations: 242.8 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.01143, allocations: 238.8 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.01154, allocations: 145.5 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/0.01161, allocations: 119.4 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.01174, allocations: 238.8 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.01188, allocations: 246.3 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.01202, allocations: 242.3 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.01246, allocations: 0.5681 MB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.01265, allocations: 265.4 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.01273, allocations: 126.9 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.0128, allocations: 127.2 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.01291, allocations: 160.6 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.01291, allocations: 3.938 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.691e-05/0.01299, allocations: 29.64 kB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.01313, allocations: 200.2 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.01322, allocations: 142.2 kB / 385.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.01323, allocations: 25.7 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.01331, allocations: 130.9 kB / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.01331, allocations: 0 / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.01334, allocations: 15.38 kB / 386 MB, free: 10.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.01361, allocations: 496.1 kB / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.01362, allocations: 4 kB / 386.5 MB, free: 9.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.01365, allocations: 25.7 kB / 386.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/0.01372, allocations: 123.2 kB / 386.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.279e-05/0.01379, allocations: 119.2 kB / 386.7 MB, free: 9.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.21e-05/0.01385, allocations: 33.64 kB / 386.7 MB, free: 9.242 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/0.01393, allocations: 127.2 kB / 386.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.877e-05/0.01399, allocations: 119.2 kB / 387 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.01414, allocations: 246.3 kB / 387.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.01421, allocations: 119.2 kB / 387.3 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000137/0.01435, allocations: 242.3 kB / 387.6 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.01447, allocations: 131.2 kB / 387.7 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.578e-05/0.01455, allocations: 131.2 kB / 387.8 MB, free: 8.145 MB / 362.7 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.0002813/0.01483, allocations: 395 kB / 388.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.01495, allocations: 152.8 kB / 388.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.283e-05/0.01504, allocations: 147.9 kB / 388.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000153/0.01519, allocations: 264.1 kB / 388.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004528/0.01565, allocations: 276 kB / 389 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001533/0.0158, allocations: 268 kB / 389.3 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.01615, allocations: 499.8 kB / 389.8 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-05/0.01623, allocations: 144.9 kB / 389.9 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.01631, allocations: 148.9 kB / 390.1 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.01646, allocations: 276 kB / 390.4 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.0166, allocations: 264.1 kB / 390.6 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001419/0.01674, allocations: 268 kB / 390.9 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001556/0.0169, allocations: 272.4 kB / 391.1 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.01718, allocations: 451.9 kB / 391.6 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.01726, allocations: 148.9 kB / 391.7 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.01742, allocations: 276 kB / 392 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.01754, allocations: 148.9 kB / 392.1 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.01769, allocations: 276 kB / 392.4 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/0.01777, allocations: 148.9 kB / 392.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.124e-05/0.01785, allocations: 123.1 kB / 392.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01785, allocations: 0 / 392.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006958/0.01855, allocations: 147.6 kB / 392.8 MB, free: 2.965 MB / 362.7 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.0009145/0.01946, allocations: 405.3 kB / 393.2 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.01952, allocations: 7.984 kB / 393.2 MB, free: 2.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01952, allocations: 0 / 393.2 MB, free: 2.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.01953, allocations: 7.938 kB / 393.2 MB, free: 2.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005854/0.02012, allocations: 0.7061 MB / 393.9 MB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.02037, allocations: 201.7 kB / 394.1 MB, free: 1.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.639e-05/0.02043, allocations: 51.36 kB / 394.2 MB, free: 1.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.608e-06/0.02044, allocations: 4 kB / 394.2 MB, free: 1.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.02047, allocations: 12.5 kB / 394.2 MB, free: 1.539 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02047, allocations: 0 / 394.2 MB, free: 1.539 MB / 362.7 MB Notification: Performance of Templates: time 0.008415/0.02888, allocations: 3.507 MB / 397.7 MB, free: 14.03 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] 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.148117827018723]