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.001471/0.001471, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001631/0.001631, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.344/1.344, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.204/0.204, allocations: 46.93 MB / 361.5 MB, free: 4.156 MB / 286.1 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 0.002184/0.002184, allocations: 79.88 kB / 0.4974 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.271, allocations: 66.08 MB / 0.5619 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001624/0.2726, allocations: 0.4931 MB / 0.5624 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.2755, allocations: 2.07 MB / 0.5644 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-06/0.2755, allocations: 4 kB / 0.5644 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.256e-06/0.2755, allocations: 0 / 0.5644 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.012e-06/0.2755, allocations: 0 / 0.5644 GB, free: 1.645 MB / 398.1 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.001718/0.2773, allocations: 0.5518 MB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.631e-05/0.2773, allocations: 3.984 kB / 0.565 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.775e-05/0.2773, allocations: 7.984 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-06/0.2773, allocations: 0 / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-06/0.2773, allocations: 0 / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-06/0.2773, allocations: 4 kB / 0.565 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.279, allocations: 1.13 MB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-06/0.279, allocations: 0 / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.125e-05/0.279, allocations: 0 / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.28, allocations: 0.8403 MB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2801, allocations: 0 / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2801, allocations: 4 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2801, allocations: 0 / 0.5669 GB, free: 15.11 MB / 414.1 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.0003909/0.2804, allocations: 305.7 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2805, allocations: 8.031 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.2805, allocations: 80.22 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2806, allocations: 181.8 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/0.2807, allocations: 154.9 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.2808, allocations: 154.9 kB / 0.5678 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.309e-05/0.2808, allocations: 105.3 kB / 0.5679 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.2809, allocations: 75.28 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.2809, allocations: 158.5 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.839e-05/0.281, allocations: 150.6 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.311e-05/0.2811, allocations: 150.6 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.2814, allocations: 425 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.494e-05/0.2814, allocations: 165.1 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.2815, allocations: 92.02 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.2815, allocations: 75.28 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.2816, allocations: 113.8 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.2816, allocations: 0 / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.828e-05/0.2817, allocations: 37.64 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.2817, allocations: 152.4 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.437e-05/0.2818, allocations: 89.86 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.2818, allocations: 29.7 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.2818, allocations: 80.14 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.2818, allocations: 4 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.2819, allocations: 13.7 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.282, allocations: 310.8 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-06/0.282, allocations: 0 / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.282, allocations: 4 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.282, allocations: 75.28 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.661e-05/0.2821, allocations: 75.28 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.669e-05/0.2821, allocations: 29.7 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.2822, allocations: 95.19 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.2822, allocations: 83.36 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.93e-05/0.2823, allocations: 150.6 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.114e-05/0.2823, allocations: 83.2 kB / 0.5705 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.908e-05/0.2824, allocations: 154.6 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.2824, allocations: 79.22 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.2825, allocations: 79.28 kB / 0.5708 GB, free: 10.97 MB / 414.1 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.0001295/0.2826, allocations: 265.7 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.2827, allocations: 104.9 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.2827, allocations: 115.7 kB / 0.5712 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.824e-05/0.2828, allocations: 176.3 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.53e-05/0.2829, allocations: 188.2 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.147e-05/0.2829, allocations: 176.3 kB / 0.5717 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.2832, allocations: 372.3 kB / 0.5721 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-05/0.2832, allocations: 112.9 kB / 0.5722 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.2833, allocations: 101 kB / 0.5723 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.375e-05/0.2833, allocations: 184.1 kB / 0.5725 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.071e-05/0.2834, allocations: 180.3 kB / 0.5726 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.08e-05/0.2835, allocations: 180.3 kB / 0.5728 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.085e-05/0.2835, allocations: 192.1 kB / 0.573 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.2837, allocations: 299.8 kB / 0.5733 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.2837, allocations: 109 kB / 0.5734 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.2838, allocations: 184.2 kB / 0.5736 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.2839, allocations: 108.9 kB / 0.5737 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.284, allocations: 176.3 kB / 0.5738 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.284, allocations: 108.9 kB / 0.5739 GB, free: 7.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.22e-05/0.2841, allocations: 75.28 kB / 0.574 GB, free: 7.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2841, allocations: 0 / 0.574 GB, free: 7.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006164/0.2847, allocations: 159.6 kB / 0.5742 GB, free: 7.277 MB / 414.1 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.0007015/0.2854, allocations: 340.1 kB / 0.5745 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.027e-05/0.2854, allocations: 0 / 0.5745 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2854, allocations: 4 kB / 0.5745 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.2854, allocations: 0 / 0.5745 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2858, allocations: 454.4 kB / 0.5749 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001675/0.2859, allocations: 182.4 kB / 0.5751 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.2862, allocations: 0.669 MB / 0.5758 GB, free: 5.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.2862, allocations: 11.44 kB / 0.5758 GB, free: 5.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2862, allocations: 0 / 0.5758 GB, free: 5.57 MB / 414.1 MB Notification: Performance of Templates: time 0.005348/0.2916, allocations: 2.958 MB / 0.5787 GB, free: 2.613 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.11518885800615]