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.0009451/0.0009451, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001142/0.001142, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 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 0.9978/0.9978, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2363/0.2363, allocations: 34.27 MB / 296.1 MB, free: 0.7148 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.302e-06/1.302e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.426e-05, allocations: 7.078 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0008185/0.0008327, allocations: 0.5015 MB / 325.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.002845, allocations: 2.024 MB / 327.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-06/0.002849, allocations: 0 / 327.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.412e-06/0.002855, allocations: 0 / 327.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.81e-07/0.002856, allocations: 0 / 327.7 MB, free: 5.172 MB / 298.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.001024/0.00388, allocations: 0.5608 MB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 1.476e-05/0.003895, allocations: 3.938 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.409e-05/0.003919, allocations: 7.984 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.153e-05/0.003931, allocations: 3.984 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-06/0.003938, allocations: 0 / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.543e-06/0.003945, allocations: 0 / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007853/0.00473, allocations: 0.8536 MB / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/0.004737, allocations: 0 / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.837e-06/0.004746, allocations: 0 / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.00536, allocations: 0.826 MB / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.005362, allocations: 0 / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005362, allocations: 0 / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.005366, allocations: 4 kB / 330 MB, free: 2.906 MB / 298.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.0002128/0.005578, allocations: 280.5 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.005607, allocations: 8.031 kB / 330.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.005642, allocations: 80.22 kB / 330.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.051e-05/0.005712, allocations: 185.1 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.005753, allocations: 158.8 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.005788, allocations: 154.9 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.897e-05/0.005837, allocations: 101.5 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.005856, allocations: 75.47 kB / 331 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.0059, allocations: 154.9 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.005941, allocations: 158.5 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.005978, allocations: 154.6 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.006135, allocations: 357.2 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.006202, allocations: 173.1 kB / 332 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.006229, allocations: 84.19 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.00625, allocations: 79.28 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.006288, allocations: 105.8 kB / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.00629, allocations: 0 / 332.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.35e-05/0.006343, allocations: 33.64 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.006416, allocations: 156.4 kB / 332.4 MB, free: 340 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.08e-05/0.006447, allocations: 89.86 kB / 332.5 MB, free: 240 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.006456, allocations: 25.7 kB / 332.6 MB, free: 208 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.006479, allocations: 80.14 kB / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-06/0.00648, allocations: 0 / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.0065, allocations: 21.7 kB / 332.7 MB, free: 96 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.006588, allocations: 314.8 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-06/0.006591, allocations: 0 / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.00661, allocations: 25.7 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/0.006629, allocations: 79.28 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/0.006645, allocations: 75.28 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.316e-05/0.006679, allocations: 33.64 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.006706, allocations: 83.28 kB / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.006728, allocations: 79.27 kB / 333.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/0.006766, allocations: 150.6 kB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2e-05/0.006786, allocations: 87.25 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.897e-05/0.006815, allocations: 150.6 kB / 333.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.006853, allocations: 79.22 kB / 333.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.00687, allocations: 83.22 kB / 333.9 MB, free: 14.85 MB / 314.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 7.101e-05/0.006941, allocations: 256.4 kB / 334.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.006977, allocations: 113 kB / 334.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.007007, allocations: 107.9 kB / 334.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/0.007048, allocations: 180.2 kB / 334.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.016e-05/0.007088, allocations: 184.2 kB / 334.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.659e-05/0.007125, allocations: 176.3 kB / 334.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.007243, allocations: 329.3 kB / 335.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/0.007266, allocations: 101 kB / 335.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.007293, allocations: 109 kB / 335.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.023e-05/0.007333, allocations: 188.2 kB / 335.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.007374, allocations: 176.3 kB / 335.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.939e-05/0.007413, allocations: 188.5 kB / 335.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.991e-05/0.007453, allocations: 180.3 kB / 336.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.331e-05/0.007537, allocations: 307.7 kB / 336.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.00756, allocations: 105 kB / 336.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.007605, allocations: 188.2 kB / 336.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-05/0.007644, allocations: 101 kB / 336.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.007689, allocations: 184.3 kB / 337 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.007712, allocations: 104.9 kB / 337.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.518e-06/0.007722, allocations: 4.859 kB / 337.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007722, allocations: 0 / 337.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.008019, allocations: 151.6 kB / 337.2 MB, free: 11.32 MB / 314.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.0004683/0.008487, allocations: 347.3 kB / 337.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.393e-05/0.008521, allocations: 4 kB / 337.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.008523, allocations: 0 / 337.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.008524, allocations: 3.938 kB / 337.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.008686, allocations: 463.6 kB / 338 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001262/0.008812, allocations: 158.5 kB / 338.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.634e-05/0.008838, allocations: 55.36 kB / 338.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.494e-06/0.008846, allocations: 4 kB / 338.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.008874, allocations: 51.36 kB / 338.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.008875, allocations: 4 kB / 338.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of Templates: time 0.004664/0.01354, allocations: 3.95 MB / 342.2 MB, free: 6.27 MB / 314.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: 2.9579072720371187]