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.0009323/0.0009323, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001001/0.001001, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.043/1.043, allocations: 177.1 MB / 205 MB, free: 5.629 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.2566/0.2566, allocations: 34.26 MB / 295.7 MB, free: 0.668 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.412e-06/1.412e-06, allocations: 3.938 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.944e-05, allocations: 2.312 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0009769/0.0009963, allocations: 0.4969 MB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.003252, allocations: 2.024 MB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-06/0.003257, allocations: 0 / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.00327, allocations: 0 / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.433e-06/0.003272, allocations: 3.938 kB / 380.5 MB, free: 92 kB / 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.001513/0.004785, allocations: 0.5608 MB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 1.539e-05/0.004801, allocations: 0 / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.389e-05/0.004825, allocations: 0 / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.004838, allocations: 3.938 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-06/0.004846, allocations: 0 / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.004855, allocations: 0 / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008874/0.005742, allocations: 0.8536 MB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-06/0.005749, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.258e-05/0.005761, allocations: 7.984 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.006438, allocations: 0.8221 MB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00644, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.00644, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.006445, allocations: 0 / 382.8 MB, free: 13.84 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.0002748/0.006719, allocations: 407.7 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.006755, allocations: 12.02 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.006811, allocations: 124.1 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.364e-05/0.006885, allocations: 223.8 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.006938, allocations: 238.8 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.006989, allocations: 242.7 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.952e-05/0.007048, allocations: 149.5 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.007075, allocations: 123.4 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.007128, allocations: 238.8 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/0.00718, allocations: 246.3 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.007234, allocations: 246.4 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.007438, allocations: 0.5641 MB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.135e-05/0.007529, allocations: 273.4 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.007563, allocations: 126.9 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.007592, allocations: 123.2 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.00764, allocations: 152.6 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.52e-07/0.007641, allocations: 0 / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.768e-05/0.007699, allocations: 41.58 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.00776, allocations: 200.2 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.318e-05/0.007793, allocations: 142.2 kB / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.007802, allocations: 25.7 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.007836, allocations: 126.9 kB / 386.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-06/0.007837, allocations: 0 / 386.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.007857, allocations: 19.38 kB / 386.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.007953, allocations: 492.1 kB / 387.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-06/0.007958, allocations: 0 / 387.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.007983, allocations: 29.69 kB / 387.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.008013, allocations: 127.2 kB / 387.4 MB, free: 9.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/0.008037, allocations: 123.2 kB / 387.5 MB, free: 8.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.283e-05/0.00807, allocations: 25.7 kB / 387.5 MB, free: 8.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.008104, allocations: 132.8 kB / 387.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.008128, allocations: 119.2 kB / 387.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.765e-05/0.008186, allocations: 238.4 kB / 388 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.00862, allocations: 127.1 kB / 388.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.045e-05/0.00867, allocations: 242.3 kB / 388.4 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.008719, allocations: 127.2 kB / 388.5 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.008746, allocations: 131.2 kB / 388.6 MB, free: 7.766 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.000104/0.00885, allocations: 391 kB / 389 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.008891, allocations: 152.9 kB / 389.2 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.008936, allocations: 155.8 kB / 389.3 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.626e-05/0.008992, allocations: 264.1 kB / 389.6 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/0.00905, allocations: 276 kB / 389.8 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-05/0.009104, allocations: 272 kB / 390.1 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.009247, allocations: 491.9 kB / 390.6 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.009277, allocations: 152.8 kB / 390.7 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.009308, allocations: 148.9 kB / 390.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.587e-05/0.009364, allocations: 268 kB / 391.1 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/0.009428, allocations: 272.1 kB / 391.4 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.459e-05/0.009483, allocations: 268.1 kB / 391.7 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-05/0.00954, allocations: 268.4 kB / 391.9 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.009664, allocations: 455.9 kB / 392.4 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.009699, allocations: 148.9 kB / 392.5 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.009771, allocations: 268 kB / 392.8 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.009825, allocations: 152.8 kB / 392.9 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.00989, allocations: 268.1 kB / 393.2 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.009922, allocations: 152.8 kB / 393.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.456e-05/0.009956, allocations: 123.1 kB / 393.5 MB, free: 2.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009956, allocations: 0 / 393.5 MB, free: 2.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.0103, allocations: 147.6 kB / 393.6 MB, free: 2.586 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.0005309/0.01083, allocations: 406.8 kB / 394 MB, free: 2.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.734e-05/0.01089, allocations: 8 kB / 394 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01089, allocations: 4 kB / 394 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.01089, allocations: 0 / 394 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.01117, allocations: 0.7061 MB / 394.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001397/0.01131, allocations: 202.1 kB / 394.9 MB, free: 1.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.236e-05/0.01135, allocations: 51.36 kB / 395 MB, free: 1.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.654e-06/0.01135, allocations: 0 / 395 MB, free: 1.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.01137, allocations: 8.5 kB / 395 MB, free: 1.164 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01137, allocations: 0 / 395 MB, free: 1.164 MB / 362.7 MB Notification: Performance of Templates: time 0.005243/0.01661, allocations: 3.518 MB / 398.5 MB, free: 13.64 MB / 378.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: 3.2886507539078593]