Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.006187/0.006187, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.001678/0.001678, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.416/1.416, allocations: 230.5 MB / 258.9 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2318/0.2318, allocations: 46.93 MB / 362.3 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 87.86 kB / 0.4982 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2893, allocations: 66.07 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001605/0.2909, allocations: 0.4924 MB / 0.5632 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.294, allocations: 2.07 MB / 0.5652 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-06/0.294, allocations: 0 / 0.5652 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.267e-06/0.294, allocations: 0 / 0.5652 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.163e-06/0.294, allocations: 0 / 0.5652 GB, free: 1.676 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.00171/0.2957, allocations: 0.5525 MB / 0.5658 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.663e-05/0.2957, allocations: 3.984 kB / 0.5658 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.694e-05/0.2958, allocations: 8 kB / 0.5658 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-06/0.2958, allocations: 0 / 0.5658 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-06/0.2958, allocations: 0 / 0.5658 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-06/0.2958, allocations: 0 / 0.5658 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.2974, allocations: 1.134 MB / 0.5669 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-06/0.2975, allocations: 0 / 0.5669 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.2975, allocations: 0 / 0.5669 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.2985, allocations: 0.8441 MB / 0.5677 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2985, allocations: 0 / 0.5677 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.2985, allocations: 8 kB / 0.5677 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.2985, allocations: 0 / 0.5677 GB, free: 15.13 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.0003861/0.2989, allocations: 297.7 kB / 0.568 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.299, allocations: 12.03 kB / 0.568 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.299, allocations: 76.22 kB / 0.5681 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2991, allocations: 181.8 kB / 0.5683 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/0.2992, allocations: 154.9 kB / 0.5684 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.2993, allocations: 158.9 kB / 0.5686 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.704e-05/0.2993, allocations: 109.3 kB / 0.5687 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.2994, allocations: 75.28 kB / 0.5687 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.2995, allocations: 150.6 kB / 0.5689 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.044e-05/0.2995, allocations: 150.6 kB / 0.569 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.117e-05/0.2996, allocations: 154.6 kB / 0.5692 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.2999, allocations: 417 kB / 0.5696 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.623e-05/0.3, allocations: 173.1 kB / 0.5697 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.3, allocations: 80.14 kB / 0.5698 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.3001, allocations: 75.28 kB / 0.5699 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/0.3001, allocations: 121.8 kB / 0.57 GB, free: 12.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3001, allocations: 0 / 0.57 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.852e-05/0.3002, allocations: 33.64 kB / 0.57 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/0.3003, allocations: 156.4 kB / 0.5702 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.279e-05/0.3004, allocations: 89.86 kB / 0.5703 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3004, allocations: 25.7 kB / 0.5703 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.3004, allocations: 80.14 kB / 0.5704 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.3004, allocations: 4 kB / 0.5704 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.3005, allocations: 13.7 kB / 0.5704 GB, free: 12.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3006, allocations: 314.8 kB / 0.5707 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-06/0.3006, allocations: 0 / 0.5707 GB, free: 11.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.618e-05/0.3006, allocations: 0 / 0.5707 GB, free: 11.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.3006, allocations: 75.28 kB / 0.5707 GB, free: 11.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-05/0.3007, allocations: 75.28 kB / 0.5708 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.544e-05/0.3007, allocations: 33.7 kB / 0.5708 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.3008, allocations: 89.28 kB / 0.5709 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/0.3008, allocations: 83.3 kB / 0.571 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.192e-05/0.3009, allocations: 150.6 kB / 0.5712 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.439e-05/0.3009, allocations: 87.2 kB / 0.5712 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.94e-05/0.301, allocations: 150.6 kB / 0.5714 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.598e-05/0.3011, allocations: 75.28 kB / 0.5715 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.3011, allocations: 83.22 kB / 0.5715 GB, free: 11.01 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.0001454/0.3013, allocations: 264.4 kB / 0.5718 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.3014, allocations: 104.9 kB / 0.5719 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.3014, allocations: 115.7 kB / 0.572 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.171e-05/0.3015, allocations: 180.3 kB / 0.5722 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.64e-05/0.3016, allocations: 184.2 kB / 0.5723 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.159e-05/0.3017, allocations: 180.2 kB / 0.5725 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.3019, allocations: 376.3 kB / 0.5729 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.026e-05/0.302, allocations: 112.9 kB / 0.573 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.302, allocations: 101 kB / 0.5731 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.828e-05/0.3021, allocations: 188.1 kB / 0.5733 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/0.3022, allocations: 184.3 kB / 0.5734 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.26e-05/0.3023, allocations: 180.3 kB / 0.5736 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.59e-05/0.3024, allocations: 184.2 kB / 0.5738 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3025, allocations: 299.8 kB / 0.5741 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.3026, allocations: 112.9 kB / 0.5742 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/0.3026, allocations: 188.2 kB / 0.5744 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.3027, allocations: 104.9 kB / 0.5745 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.3028, allocations: 176.3 kB / 0.5746 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.3029, allocations: 104.9 kB / 0.5747 GB, free: 7.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.406e-05/0.3029, allocations: 79.28 kB / 0.5748 GB, free: 7.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3029, allocations: 4 kB / 0.5748 GB, free: 7.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006253/0.3035, allocations: 151.6 kB / 0.5749 GB, free: 7.309 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.0007079/0.3042, allocations: 345.3 kB / 0.5753 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.84e-05/0.3043, allocations: 0 / 0.5753 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3043, allocations: 0 / 0.5753 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.3043, allocations: 0 / 0.5753 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.3047, allocations: 463.6 kB / 0.5757 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001858/0.3049, allocations: 178.4 kB / 0.5759 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3052, allocations: 0.669 MB / 0.5765 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.3052, allocations: 7.438 kB / 0.5765 GB, free: 5.594 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3052, allocations: 0 / 0.5765 GB, free: 5.594 MB / 414.1 MB Notification: Performance of Templates: time 0.005635/0.3108, allocations: 2.952 MB / 0.5794 GB, free: 2.645 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 9.072565197013319]