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.00134/0.00134, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001634/0.001634, allocations: 165.5 kB / 25.61 MB, free: 8.602 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.9573/0.9573, allocations: 177.1 MB / 206 MB, free: 4.477 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.1437/0.1437, allocations: 32.8 MB / 295.4 MB, free: 15.46 MB / 282.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.513e-06/1.513e-06, allocations: 0 / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.168e-05, allocations: 2.312 kB / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0009666/0.0009883, allocations: 0.4892 MB / 377.7 MB, free: 25.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.002863, allocations: 1.989 MB / 379.7 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-06/0.002867, allocations: 4 kB / 379.7 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.372e-06/0.002873, allocations: 0 / 379.7 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.643e-06/0.002875, allocations: 4 kB / 379.7 MB, free: 23.1 MB / 314.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.001176/0.00405, allocations: 0.5568 MB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 1.966e-05/0.00407, allocations: 3.984 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.879e-05/0.004099, allocations: 8 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.296e-05/0.004112, allocations: 0 / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.2e-05/0.004124, allocations: 0 / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.004133, allocations: 0 / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007463/0.004879, allocations: 0.8535 MB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.525e-06/0.004886, allocations: 3.984 kB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.096e-05/0.004897, allocations: 4 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.00546, allocations: 0.8222 MB / 382 MB, free: 20.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.005462, allocations: 0 / 382 MB, free: 20.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005463, allocations: 7.938 kB / 382 MB, free: 20.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.005467, allocations: 0 / 382 MB, free: 20.83 MB / 314.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.0002223/0.00569, allocations: 403.7 kB / 382.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.005725, allocations: 11.98 kB / 382.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.005756, allocations: 124.1 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.254e-05/0.005799, allocations: 231.8 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.005822, allocations: 238.8 kB / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.005843, allocations: 242.7 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.349e-05/0.005886, allocations: 153.4 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.005898, allocations: 123.4 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.005923, allocations: 238.8 kB / 383.7 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.005946, allocations: 246.3 kB / 384 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.005967, allocations: 238.4 kB / 384.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.00609, allocations: 0.5531 MB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.006132, allocations: 269.4 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.006146, allocations: 130.9 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.006157, allocations: 123.2 kB / 385.3 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.006178, allocations: 152.6 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.006179, allocations: 0 / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 3.969e-05/0.006219, allocations: 25.7 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.00625, allocations: 204.3 kB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.463e-05/0.006265, allocations: 146.2 kB / 385.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-06/0.00627, allocations: 33.58 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.255e-05/0.006282, allocations: 126.9 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.31e-07/0.006283, allocations: 0 / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.006299, allocations: 19.38 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.006347, allocations: 0.4883 MB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-06/0.00635, allocations: 0 / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.006367, allocations: 25.7 kB / 386.5 MB, free: 16.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.147e-05/0.006379, allocations: 119.2 kB / 386.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.006389, allocations: 119.2 kB / 386.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.075e-05/0.00642, allocations: 29.7 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.006438, allocations: 127.2 kB / 386.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.006451, allocations: 135.1 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.006476, allocations: 238.4 kB / 387.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.01e-05/0.006486, allocations: 119.2 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.006505, allocations: 246.3 kB / 387.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.006538, allocations: 127.2 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.006546, allocations: 123.1 kB / 387.8 MB, free: 14.79 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 4.461e-05/0.00659, allocations: 395 kB / 388.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.006613, allocations: 144.9 kB / 388.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.006631, allocations: 159.8 kB / 388.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.00665, allocations: 272.1 kB / 388.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/0.006669, allocations: 264.1 kB / 389 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.006689, allocations: 268 kB / 389.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.67e-05/0.006766, allocations: 484.5 kB / 389.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.006777, allocations: 148.8 kB / 389.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.006788, allocations: 148.9 kB / 390 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/0.006806, allocations: 264.1 kB / 390.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.006826, allocations: 272 kB / 390.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.921e-05/0.006845, allocations: 272.1 kB / 390.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.858e-05/0.006864, allocations: 268 kB / 391.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.708e-05/0.006921, allocations: 448.3 kB / 391.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.006937, allocations: 156.8 kB / 391.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.006973, allocations: 268.1 kB / 392 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.007007, allocations: 152.8 kB / 392.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.007031, allocations: 268.1 kB / 392.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.007045, allocations: 148.9 kB / 392.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.591e-05/0.007061, allocations: 127.1 kB / 392.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007061, allocations: 0 / 392.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003808/0.007442, allocations: 155.6 kB / 392.8 MB, free: 9.625 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.0005029/0.007944, allocations: 402.8 kB / 393.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.54e-05/0.00799, allocations: 0 / 393.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.007992, allocations: 0 / 393.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.007993, allocations: 0 / 393.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.008231, allocations: 0.7159 MB / 393.9 MB, free: 8.516 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001214/0.008352, allocations: 200 kB / 394.1 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.728e-05/0.00838, allocations: 63.14 kB / 394.2 MB, free: 8.211 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.546e-06/0.008388, allocations: 0 / 394.2 MB, free: 8.211 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.008411, allocations: 70.2 kB / 394.2 MB, free: 8.141 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008411, allocations: 0 / 394.2 MB, free: 8.141 MB / 314.7 MB Notification: Performance of Templates: time 0.006363/0.01477, allocations: 4.077 MB / 398.3 MB, free: 4.078 MB / 314.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.274027673061937]