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.0009982/0.0009982, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001678/0.001678, allocations: 161 kB / 24.56 MB, free: 12 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.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2602/0.2602, allocations: 34.26 MB / 295.7 MB, free: 0.6758 MB / 266.7 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 1.673e-06/1.673e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.275e-05, allocations: 2.312 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001459/0.001482, allocations: 0.4962 MB / 378.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.004576, allocations: 2.028 MB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-06/0.00458, allocations: 0 / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.614e-06/0.004588, allocations: 0 / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.258e-06/0.004592, allocations: 0 / 380.5 MB, free: 104 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.002133/0.006725, allocations: 0.5569 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 2.319e-05/0.006749, allocations: 3.984 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.645e-05/0.006775, allocations: 0 / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.006788, allocations: 0 / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-06/0.006797, allocations: 0 / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.006806, allocations: 0 / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.00818, allocations: 0.8614 MB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-06/0.008187, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-06/0.008196, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.009266, allocations: 0.8299 MB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.00927, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.009271, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.009275, allocations: 0 / 382.8 MB, free: 13.84 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.0003889/0.009664, allocations: 403.7 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.009705, allocations: 8.031 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.009774, allocations: 124.1 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.009869, allocations: 231.8 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/0.009938, allocations: 238.8 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.01001, allocations: 250.6 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.567e-05/0.01008, allocations: 149.4 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.01012, allocations: 119.4 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.606e-05/0.01019, allocations: 238.8 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002783/0.01047, allocations: 242.3 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.01054, allocations: 246.4 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.01074, allocations: 0.5642 MB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/0.01082, allocations: 273.4 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.01085, allocations: 130.9 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.01088, allocations: 119.2 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.01092, allocations: 152.6 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.01092, allocations: 4 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.48e-05/0.01097, allocations: 29.64 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.01104, allocations: 208.2 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.313e-05/0.01107, allocations: 142.2 kB / 386.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.01108, allocations: 25.7 kB / 386.6 MB, free: 9.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.0111, allocations: 126.9 kB / 386.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.01111, allocations: 4 kB / 386.7 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.01113, allocations: 15.38 kB / 386.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.01122, allocations: 496.1 kB / 387.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.01122, allocations: 0 / 387.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.01125, allocations: 29.7 kB / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.01127, allocations: 119.2 kB / 387.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/0.0113, allocations: 119.2 kB / 387.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.176e-05/0.01133, allocations: 25.7 kB / 387.5 MB, free: 8.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.01136, allocations: 127.2 kB / 387.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.01139, allocations: 127.1 kB / 387.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.456e-05/0.01144, allocations: 242.4 kB / 388 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.101e-05/0.01147, allocations: 127.1 kB / 388.1 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.055e-05/0.01153, allocations: 246.3 kB / 388.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.01159, allocations: 119.2 kB / 388.5 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.01161, allocations: 131.1 kB / 388.6 MB, free: 7.777 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 9.713e-05/0.01171, allocations: 391 kB / 389 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.01175, allocations: 156.9 kB / 389.2 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.01179, allocations: 155.8 kB / 389.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.567e-05/0.01185, allocations: 264.1 kB / 389.6 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.463e-05/0.0119, allocations: 276 kB / 389.8 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-05/0.01196, allocations: 268 kB / 390.1 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.0121, allocations: 499.9 kB / 390.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.01212, allocations: 152.8 kB / 390.7 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.01215, allocations: 144.9 kB / 390.9 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.152e-05/0.01221, allocations: 268 kB / 391.1 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.01226, allocations: 268.1 kB / 391.4 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.162e-05/0.01231, allocations: 268.1 kB / 391.7 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.417e-05/0.01237, allocations: 268.4 kB / 391.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.01272, allocations: 455.9 kB / 392.4 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.01275, allocations: 148.9 kB / 392.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.01281, allocations: 268.1 kB / 392.8 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.01286, allocations: 148.8 kB / 392.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.01292, allocations: 268.1 kB / 393.2 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.01295, allocations: 156.8 kB / 393.3 MB, free: 2.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.146e-05/0.01298, allocations: 123.1 kB / 393.5 MB, free: 2.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01298, allocations: 0 / 393.5 MB, free: 2.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000361/0.01334, allocations: 151.6 kB / 393.6 MB, free: 2.594 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.0005425/0.01388, allocations: 406.1 kB / 394 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.518e-05/0.01393, allocations: 4 kB / 394 MB, free: 2.195 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01393, allocations: 4 kB / 394 MB, free: 2.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.01393, allocations: 0 / 394 MB, free: 2.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.01418, allocations: 0.7061 MB / 394.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001361/0.01432, allocations: 210 kB / 394.9 MB, free: 1.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.01435, allocations: 51.36 kB / 395 MB, free: 1.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.705e-06/0.01435, allocations: 0 / 395 MB, free: 1.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.01437, allocations: 12.5 kB / 395 MB, free: 1.164 MB / 362.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01437, allocations: 0 / 395 MB, free: 1.164 MB / 362.7 MB Notification: Performance of Templates: time 0.005643/0.02001, allocations: 4.059 MB / 399 MB, free: 13.11 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0533713353797793]