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.001873/0.001873, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00233/0.00233, allocations: 161.7 kB / 24.27 MB, free: 172 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.495/1.495, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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.3284/0.3284, allocations: 32.8 MB / 293.9 MB, free: 1.188 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 2.054e-06/2.054e-06, allocations: 0 / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.788e-05/3.994e-05, allocations: 13.48 kB / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002574/0.002614, allocations: 0.497 MB / 375.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006267/0.008882, allocations: 1.954 MB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-06/0.008887, allocations: 0 / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.489e-06/0.008891, allocations: 0 / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.653e-06/0.008893, allocations: 0 / 377.7 MB, free: 2.504 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.003447/0.01234, allocations: 0.5685 MB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.318e-05/0.01236, allocations: 3.984 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.043e-05/0.01239, allocations: 0 / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.01241, allocations: 0 / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.888e-06/0.01242, allocations: 0 / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.088e-06/0.01243, allocations: 0 / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.01504, allocations: 0.8613 MB / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-06/0.01505, allocations: 0 / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.01506, allocations: 0 / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.01706, allocations: 0.8261 MB / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.01706, allocations: 0 / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01707, allocations: 0 / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.01707, allocations: 0 / 380 MB, free: 244 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.0009671/0.01804, allocations: 309.6 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.0181, allocations: 8.031 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.01821, allocations: 80.22 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.01843, allocations: 189.1 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.01856, allocations: 150.9 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.01867, allocations: 150.9 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.01881, allocations: 109.5 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.932e-05/0.01888, allocations: 75.47 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.01902, allocations: 154.9 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.01916, allocations: 154.5 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.01929, allocations: 150.6 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.01979, allocations: 397.6 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.01998, allocations: 165.1 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.02007, allocations: 88.08 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/0.02015, allocations: 75.28 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.02028, allocations: 109.8 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.02028, allocations: 0 / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001331/0.02042, allocations: 33.7 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.02058, allocations: 160.3 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.02067, allocations: 89.86 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.0207, allocations: 25.7 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.02078, allocations: 80.14 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.02079, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.02083, allocations: 13.72 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.02108, allocations: 310.8 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-06/0.02109, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.263e-05/0.02114, allocations: 29.64 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.321e-05/0.02121, allocations: 75.31 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.531e-05/0.02127, allocations: 83.28 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.931e-05/0.02137, allocations: 29.69 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/0.02145, allocations: 81 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.959e-05/0.02153, allocations: 83.28 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.02169, allocations: 158.4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.02175, allocations: 75.28 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001505/0.02191, allocations: 162.4 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.02206, allocations: 75.28 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.02213, allocations: 79.27 kB / 383.9 MB, free: 12.11 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.0002643/0.02239, allocations: 272.3 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.02253, allocations: 105 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.02264, allocations: 108 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001606/0.0228, allocations: 180.2 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001692/0.02297, allocations: 180.2 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000161/0.02313, allocations: 188.1 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.02355, allocations: 348.9 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.407e-05/0.02364, allocations: 105 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-05/0.02373, allocations: 108.9 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/0.0239, allocations: 180.2 kB / 385.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.02407, allocations: 180.2 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001638/0.02423, allocations: 184.3 kB / 386 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001635/0.02439, allocations: 184.3 kB / 386.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.02472, allocations: 307.7 kB / 386.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.02485, allocations: 109.3 kB / 386.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.02502, allocations: 176.3 kB / 386.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.0252, allocations: 113 kB / 386.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.02539, allocations: 188.2 kB / 387 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.574e-05/0.02549, allocations: 101 kB / 387.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.02558, allocations: 79.22 kB / 387.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.02558, allocations: 0 / 387.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001131/0.02671, allocations: 151.6 kB / 387.3 MB, free: 8.457 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.001615/0.02832, allocations: 356 kB / 387.7 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.902e-05/0.02838, allocations: 11.92 kB / 387.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02838, allocations: 0 / 387.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.02839, allocations: 0 / 387.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.0291, allocations: 457.9 kB / 388.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.02941, allocations: 152.2 kB / 388.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.649e-05/0.0295, allocations: 55.36 kB / 388.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.001e-05/0.02951, allocations: 0 / 388.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.02954, allocations: 8.5 kB / 388.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02954, allocations: 0 / 388.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of Templates: time 0.01405/0.04359, allocations: 3.505 MB / 391.9 MB, free: 3.887 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.907184719922952]