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.001311/0.001311, allocations: 82.5 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001421/0.001421, allocations: 163.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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.405/1.405, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 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.2006/0.2006, allocations: 32.8 MB / 293.5 MB, free: 44 kB / 270.1 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.373e-06/1.373e-06, allocations: 0 / 440.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.723e-05, allocations: 6.219 kB / 440.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001363/0.001391, allocations: 0.4894 MB / 440.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.004366, allocations: 1.961 MB / 442.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-06/0.00437, allocations: 0 / 442.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.236e-06/0.004373, allocations: 0 / 442.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.082e-06/0.004374, allocations: 0 / 442.5 MB, free: 5.727 MB / 366.1 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.001759/0.006133, allocations: 0.5658 MB / 443.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 1.247e-05/0.006145, allocations: 0 / 443.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.006177, allocations: 7.984 kB / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.117e-05/0.006188, allocations: 3.938 kB / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.356e-06/0.006197, allocations: 4 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.642e-06/0.006203, allocations: 0 / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.007611, allocations: 0.8652 MB / 444 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.007619, allocations: 3.984 kB / 444 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.007635, allocations: 0 / 444 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.008701, allocations: 0.8068 MB / 444.8 MB, free: 3.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.008704, allocations: 0 / 444.8 MB, free: 3.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008705, allocations: 0 / 444.8 MB, free: 3.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.00871, allocations: 3.938 kB / 444.8 MB, free: 3.465 MB / 366.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.0004273/0.009138, allocations: 313.6 kB / 445.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.009186, allocations: 8.031 kB / 445.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.52e-05/0.009272, allocations: 84.22 kB / 445.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.009389, allocations: 181.1 kB / 445.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.009458, allocations: 154.9 kB / 445.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.009528, allocations: 154.9 kB / 445.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.807e-05/0.009606, allocations: 105.5 kB / 445.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/0.009648, allocations: 75.47 kB / 445.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.00972, allocations: 150.9 kB / 446 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.885e-05/0.009789, allocations: 154.5 kB / 446.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.009861, allocations: 154.5 kB / 446.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.01012, allocations: 393.6 kB / 446.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.856e-05/0.01022, allocations: 169.1 kB / 446.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.01026, allocations: 84.14 kB / 446.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.0103, allocations: 79.28 kB / 447 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/0.01036, allocations: 113.8 kB / 447.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.01036, allocations: 0 / 447.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.36e-05/0.01043, allocations: 29.7 kB / 447.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/0.01053, allocations: 156.3 kB / 447.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/0.01057, allocations: 89.86 kB / 447.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.01059, allocations: 25.7 kB / 447.4 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.01063, allocations: 84.14 kB / 447.5 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-06/0.01063, allocations: 0 / 447.5 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.01065, allocations: 17.66 kB / 447.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.01078, allocations: 310.8 kB / 447.8 MB, free: 268 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.01079, allocations: 4 kB / 447.8 MB, free: 264 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.01081, allocations: 29.64 kB / 447.8 MB, free: 228 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.01085, allocations: 75.28 kB / 447.9 MB, free: 152 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-05/0.01088, allocations: 79.28 kB / 448 MB, free: 72 kB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.582e-05/0.01094, allocations: 33.62 kB / 448 MB, free: 32 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.1838/0.1947, allocations: 79.56 kB / 448.1 MB, free: 21.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.1948, allocations: 76.81 kB / 448.2 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/0.1948, allocations: 153.3 kB / 448.3 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-06/0.1948, allocations: 78.03 kB / 448.4 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.1948, allocations: 162.3 kB / 448.5 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.1949, allocations: 77.88 kB / 448.6 MB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.1949, allocations: 80.7 kB / 448.7 MB, free: 20.8 MB / 366.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 5.636e-05/0.195, allocations: 263.3 kB / 449 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.195, allocations: 104.6 kB / 449.1 MB, free: 20.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.195, allocations: 107.9 kB / 449.2 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.195, allocations: 183.1 kB / 449.3 MB, free: 20.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/0.1951, allocations: 180.7 kB / 449.5 MB, free: 19.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.1951, allocations: 183.6 kB / 449.7 MB, free: 19.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.1952, allocations: 353.6 kB / 450 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.1952, allocations: 116.6 kB / 450.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.1952, allocations: 102.7 kB / 450.3 MB, free: 19.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/0.1952, allocations: 178 kB / 450.4 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.1953, allocations: 181.8 kB / 450.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.999e-05/0.1953, allocations: 179.2 kB / 450.8 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-05/0.1953, allocations: 183.4 kB / 451 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.569e-05/0.1954, allocations: 315 kB / 451.3 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.1954, allocations: 104.3 kB / 451.4 MB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1954, allocations: 178.2 kB / 451.6 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.1955, allocations: 119.3 kB / 451.7 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.1955, allocations: 178.8 kB / 451.8 MB, free: 17.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1955, allocations: 106 kB / 451.9 MB, free: 17.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.388e-05/0.1955, allocations: 75.98 kB / 452 MB, free: 17.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1955, allocations: 0 / 452 MB, free: 17.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006402/0.1962, allocations: 148.7 kB / 452.2 MB, free: 17.4 MB / 366.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.0007177/0.1969, allocations: 364.5 kB / 452.5 MB, free: 17.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.255e-05/0.1969, allocations: 2.031 kB / 452.5 MB, free: 17.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1969, allocations: 1.219 kB / 452.5 MB, free: 17.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1969, allocations: 0 / 452.5 MB, free: 17.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1972, allocations: 459.8 kB / 453 MB, free: 16.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001245/0.1973, allocations: 148.6 kB / 453.1 MB, free: 16.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.669e-05/0.1973, allocations: 61.03 kB / 453.2 MB, free: 16.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.446e-06/0.1973, allocations: 0.7031 kB / 453.2 MB, free: 16.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.019e-05/0.1974, allocations: 9.781 kB / 453.2 MB, free: 16.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1974, allocations: 0 / 453.2 MB, free: 16.53 MB / 366.1 MB Notification: Performance of Templates: time 0.00896/0.2063, allocations: 3.482 MB / 456.7 MB, free: 16.37 MB / 366.1 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.66630145907402]