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.001044/0.001044, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 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.001045/0.001045, allocations: 165.7 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9536/0.9536, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.2852/0.2852, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.7 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 1.173e-06/1.173e-06, allocations: 0 / 379.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.505e-05, allocations: 6.25 kB / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001082/0.001097, allocations: 0.504 MB / 379.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.003507, allocations: 2.008 MB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-06/0.00351, allocations: 0 / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.458e-06/0.00352, allocations: 0 / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.52e-07/0.003521, allocations: 0 / 381.7 MB, free: 15.33 MB / 362.7 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.001283/0.004803, allocations: 0.5569 MB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 1.162e-05/0.004815, allocations: 0 / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.801e-05/0.004833, allocations: 0 / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.033e-05/0.004843, allocations: 0 / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.002e-05/0.004853, allocations: 3.984 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.00486, allocations: 7.938 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.005888, allocations: 0.8575 MB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-06/0.005894, allocations: 0 / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.816e-06/0.005903, allocations: 0 / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00083/0.006733, allocations: 0.826 MB / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.006735, allocations: 0 / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006735, allocations: 0 / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.736e-06/0.006738, allocations: 0 / 384 MB, free: 13.07 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.0002849/0.007023, allocations: 407.7 kB / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.00706, allocations: 16.03 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.007109, allocations: 120.1 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.916e-05/0.007188, allocations: 223.8 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/0.007246, allocations: 238.8 kB / 385 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.007305, allocations: 250.7 kB / 385.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.89e-05/0.007364, allocations: 145.5 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.007393, allocations: 123.3 kB / 385.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.007452, allocations: 238.8 kB / 385.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.247e-05/0.007515, allocations: 246.3 kB / 385.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.45e-05/0.007579, allocations: 250.4 kB / 386.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.007789, allocations: 0.5452 MB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/0.007868, allocations: 273.4 kB / 387 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.007899, allocations: 126.9 kB / 387.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.00793, allocations: 119.2 kB / 387.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.007978, allocations: 156.6 kB / 387.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.007979, allocations: 0 / 387.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.415e-05/0.008033, allocations: 29.64 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.008094, allocations: 200.3 kB / 387.6 MB, free: 9.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.834e-05/0.008132, allocations: 142.2 kB / 387.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.008142, allocations: 25.7 kB / 387.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.008176, allocations: 134.9 kB / 387.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.72e-07/0.008177, allocations: 4 kB / 387.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.0082, allocations: 15.38 kB / 387.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.008312, allocations: 496.1 kB / 388.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-06/0.008315, allocations: 0 / 388.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.008335, allocations: 29.7 kB / 388.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.008364, allocations: 119.2 kB / 388.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/0.008391, allocations: 119.2 kB / 388.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.249e-05/0.008433, allocations: 29.7 kB / 388.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.008469, allocations: 123.2 kB / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.008499, allocations: 123.1 kB / 388.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.538e-05/0.008565, allocations: 242.4 kB / 389.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.062e-05/0.008595, allocations: 131.1 kB / 389.3 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-05/0.008653, allocations: 242.4 kB / 389.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.008722, allocations: 135.2 kB / 389.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.008751, allocations: 123.1 kB / 389.8 MB, free: 7.023 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.0001074/0.008859, allocations: 391 kB / 390.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.008914, allocations: 148.9 kB / 390.3 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.008962, allocations: 155.8 kB / 390.5 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.587e-05/0.009028, allocations: 264.1 kB / 390.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.736e-05/0.009095, allocations: 272 kB / 391 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.188e-05/0.009157, allocations: 264.1 kB / 391.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.009338, allocations: 492.4 kB / 391.7 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.704e-05/0.009375, allocations: 152.8 kB / 391.9 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.009411, allocations: 144.9 kB / 392 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.394e-05/0.009475, allocations: 268 kB / 392.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.009543, allocations: 272.1 kB / 392.6 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.078e-05/0.009604, allocations: 264.1 kB / 392.8 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.027e-05/0.009674, allocations: 272.3 kB / 393.1 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.009806, allocations: 455.9 kB / 393.5 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.009846, allocations: 144.9 kB / 393.7 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.009914, allocations: 272.1 kB / 393.9 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.009982, allocations: 152.8 kB / 394.1 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.01005, allocations: 264.1 kB / 394.3 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.01009, allocations: 152.8 kB / 394.5 MB, free: 2.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.431e-05/0.01012, allocations: 123.2 kB / 394.6 MB, free: 2.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01012, allocations: 0 / 394.6 MB, free: 2.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004658/0.01059, allocations: 151.6 kB / 394.8 MB, free: 1.871 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.0005138/0.0111, allocations: 398.3 kB / 395.1 MB, free: 1.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.521e-05/0.01114, allocations: 8 kB / 395.2 MB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01114, allocations: 0 / 395.2 MB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.01114, allocations: 0 / 395.2 MB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.01145, allocations: 0.7061 MB / 395.9 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00012/0.01157, allocations: 202 kB / 396.1 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.0116, allocations: 63.3 kB / 396.1 MB, free: 464 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.765e-06/0.01161, allocations: 3.984 kB / 396.1 MB, free: 460 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.01164, allocations: 66.2 kB / 396.2 MB, free: 392 kB / 362.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01164, allocations: 4 kB / 396.2 MB, free: 388 kB / 362.7 MB Notification: Performance of Templates: time 0.01164/0.02328, allocations: 4.077 MB / 400.3 MB, free: 12.3 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] 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","",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.022245850879699]