Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001099/0.001099, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001223/0.001223, allocations: 162 kB / 24.99 MB, free: 9.336 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.9582/0.9582, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2598/0.2598, allocations: 32.8 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.804e-05, allocations: 5.969 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001475/0.001503, allocations: 0.5046 MB / 376.5 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.003822, allocations: 2.008 MB / 378.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-06/0.003826, allocations: 0 / 378.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.685e-06/0.003834, allocations: 0 / 378.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.633e-06/0.003836, allocations: 0 / 378.5 MB, free: 2.453 MB / 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.001407/0.005243, allocations: 0.5569 MB / 379.1 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.129e-05/0.005264, allocations: 3.938 kB / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.005297, allocations: 0 / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.438e-05/0.005312, allocations: 0 / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-06/0.005321, allocations: 0 / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.00533, allocations: 0 / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009807/0.00631, allocations: 0.8575 MB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.006317, allocations: 7.938 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.174e-05/0.006328, allocations: 0 / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.007123, allocations: 0.8261 MB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007127, allocations: 0 / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007128, allocations: 0 / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.007132, allocations: 0 / 380.7 MB, free: 200 kB / 346.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.0003373/0.00747, allocations: 411.6 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.007508, allocations: 8.031 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.007564, allocations: 120.1 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.007636, allocations: 227.8 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.00769, allocations: 246.7 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.007737, allocations: 242.8 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.063e-05/0.007798, allocations: 149.5 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.007827, allocations: 119.4 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.007882, allocations: 238.8 kB / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.399e-05/0.007936, allocations: 242.3 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.007992, allocations: 246.4 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.008195, allocations: 0.5719 MB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.784e-05/0.008273, allocations: 261.4 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.008309, allocations: 130.9 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.008337, allocations: 119.2 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.008381, allocations: 160.6 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.008382, allocations: 0 / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.46e-05/0.008436, allocations: 33.64 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.008499, allocations: 200.2 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.721e-05/0.008537, allocations: 142.2 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.008544, allocations: 25.7 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.008574, allocations: 126.9 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.008575, allocations: 0 / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.008597, allocations: 23.36 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.008708, allocations: 492.1 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-06/0.008713, allocations: 0 / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.008739, allocations: 29.7 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.00877, allocations: 119.2 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-05/0.008798, allocations: 123.2 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.582e-05/0.008834, allocations: 33.64 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.00887, allocations: 127.2 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.032e-05/0.0089, allocations: 119.2 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.787e-05/0.008958, allocations: 238.4 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.637e-05/0.008985, allocations: 131 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.658e-05/0.009041, allocations: 246.3 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.009092, allocations: 123.2 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.009116, allocations: 127.2 kB / 386.6 MB, free: 10.13 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.0001068/0.009223, allocations: 399 kB / 387 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.009267, allocations: 144.9 kB / 387.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.009307, allocations: 159.8 kB / 387.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.747e-05/0.009364, allocations: 264.1 kB / 387.5 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.704e-05/0.009421, allocations: 272 kB / 387.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.934e-05/0.009481, allocations: 272 kB / 388.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.009633, allocations: 495.9 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/0.009671, allocations: 152.8 kB / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.009705, allocations: 144.9 kB / 388.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.183e-05/0.009767, allocations: 272 kB / 389.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/0.009832, allocations: 268.1 kB / 389.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.035e-05/0.009893, allocations: 272 kB / 389.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.892e-05/0.009952, allocations: 268.4 kB / 389.9 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.01008, allocations: 447.9 kB / 390.3 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.01011, allocations: 148.9 kB / 390.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.01018, allocations: 276 kB / 390.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.01023, allocations: 148.9 kB / 390.9 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.01029, allocations: 264.1 kB / 391.1 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.01032, allocations: 148.8 kB / 391.3 MB, free: 5.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.688e-05/0.01036, allocations: 123.1 kB / 391.4 MB, free: 5.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01036, allocations: 8 kB / 391.4 MB, free: 5.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004358/0.0108, allocations: 151.6 kB / 391.6 MB, free: 4.945 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.000556/0.01135, allocations: 407.6 kB / 392 MB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.633e-05/0.0114, allocations: 4 kB / 392 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0114, allocations: 0 / 392 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.0114, allocations: 0 / 392 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.01166, allocations: 0.71 MB / 392.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001376/0.0118, allocations: 198.1 kB / 392.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.01183, allocations: 59.34 kB / 392.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.394e-06/0.01184, allocations: 0 / 392.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.01186, allocations: 8.5 kB / 392.9 MB, free: 3.523 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01186, allocations: 0 / 392.9 MB, free: 3.523 MB / 362.7 MB Notification: Performance of Templates: time 0.005273/0.01713, allocations: 3.525 MB / 396.5 MB, free: 15.99 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.268921172944829]