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.001066/0.001066, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001716/0.001716, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.965/0.965, allocations: 177 MB / 204.8 MB, free: 5.582 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.2427/0.2427, allocations: 34.87 MB / 296.3 MB, free: 480 kB / 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.563e-06/1.563e-06, allocations: 0 / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.612e-05, allocations: 8.422 kB / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001339/0.001365, allocations: 0.493 MB / 379.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.004019, allocations: 2.02 MB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-06/0.004023, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.011e-06/0.004029, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.547e-06/0.004032, allocations: 0 / 381.3 MB, free: 15.56 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.001424/0.005456, allocations: 0.5568 MB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 1.488e-05/0.005471, allocations: 4 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.743e-05/0.005489, allocations: 0 / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.091e-05/0.0055, allocations: 3.984 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-06/0.005505, allocations: 0 / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.724e-06/0.005513, allocations: 0 / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.006698, allocations: 0.8575 MB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-06/0.006703, allocations: 0 / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.762e-06/0.00671, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009682/0.007678, allocations: 0.826 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.007681, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.007682, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.007685, allocations: 0 / 383.5 MB, free: 13.3 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.0003579/0.008043, allocations: 411.6 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.008076, allocations: 8.031 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.008128, allocations: 128.1 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.367e-05/0.008201, allocations: 223.8 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.008258, allocations: 238.8 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.00837, allocations: 242.7 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.838e-05/0.008428, allocations: 153.5 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.008458, allocations: 119.4 kB / 385 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.008517, allocations: 242.8 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.572e-05/0.008572, allocations: 242.3 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.00863, allocations: 246.3 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.008857, allocations: 0.5681 MB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.255e-05/0.00894, allocations: 265.4 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.009086, allocations: 134.9 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.009113, allocations: 119.2 kB / 386.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.009161, allocations: 152.6 kB / 386.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.009162, allocations: 4 kB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.468e-05/0.009217, allocations: 33.64 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.009287, allocations: 200.2 kB / 387.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.113e-05/0.009328, allocations: 142.2 kB / 387.3 MB, free: 9.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.009337, allocations: 25.7 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.009379, allocations: 126.9 kB / 387.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.00938, allocations: 0 / 387.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.009406, allocations: 19.38 kB / 387.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.009523, allocations: 0.4884 MB / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-06/0.009527, allocations: 0 / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.009552, allocations: 25.7 kB / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.009586, allocations: 127.2 kB / 388.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-05/0.009614, allocations: 119.2 kB / 388.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.02e-05/0.009664, allocations: 29.64 kB / 388.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.009703, allocations: 127.2 kB / 388.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.009731, allocations: 119.2 kB / 388.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.658e-05/0.009798, allocations: 242.3 kB / 388.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.391e-05/0.009832, allocations: 123.2 kB / 388.9 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.629e-05/0.009888, allocations: 246.3 kB / 389.1 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.009956, allocations: 131.1 kB / 389.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.009987, allocations: 127.2 kB / 389.4 MB, free: 7.23 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.0001095/0.0101, allocations: 395 kB / 389.7 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.01015, allocations: 148.8 kB / 389.9 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.01019, allocations: 151.9 kB / 390 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003042/0.01049, allocations: 268.1 kB / 390.3 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.319e-05/0.01056, allocations: 272 kB / 390.6 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.034e-05/0.01062, allocations: 272 kB / 390.8 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.0108, allocations: 491.8 kB / 391.3 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.708e-05/0.01083, allocations: 152.9 kB / 391.5 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.01087, allocations: 144.9 kB / 391.6 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.064e-05/0.01093, allocations: 268 kB / 391.9 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.01099, allocations: 276.1 kB / 392.1 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/0.01105, allocations: 268 kB / 392.4 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.017e-05/0.01111, allocations: 264.4 kB / 392.6 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.01126, allocations: 455.9 kB / 393.1 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.0113, allocations: 148.9 kB / 393.2 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.196e-05/0.01137, allocations: 268 kB / 393.5 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.01144, allocations: 152.9 kB / 393.6 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.01151, allocations: 268 kB / 393.9 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.01155, allocations: 144.9 kB / 394.1 MB, free: 2.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.697e-05/0.01159, allocations: 127.1 kB / 394.2 MB, free: 2.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01159, allocations: 0 / 394.2 MB, free: 2.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006159/0.0122, allocations: 155.6 kB / 394.3 MB, free: 2.055 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.0006659/0.01287, allocations: 416.2 kB / 394.7 MB, free: 1.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.909e-05/0.01292, allocations: 8 kB / 394.7 MB, free: 1.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01292, allocations: 0 / 394.7 MB, free: 1.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.01292, allocations: 3.938 kB / 394.7 MB, free: 1.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.01329, allocations: 0.7062 MB / 395.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001465/0.01344, allocations: 198.1 kB / 395.6 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.01347, allocations: 55.36 kB / 395.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.455e-06/0.01348, allocations: 3.984 kB / 395.7 MB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.0135, allocations: 8.5 kB / 395.7 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0135, allocations: 0 / 395.7 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of Templates: time 0.00715/0.02065, allocations: 4.059 MB / 399.8 MB, free: 12.55 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: 2.9984713760204613]