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.001449/0.001449, allocations: 89.3 kB / 20.68 MB, free: 1.02 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.001484/0.001484, allocations: 157.5 kB / 23.95 MB, free: 4.152 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.484/1.484, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.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.2242/0.2242, allocations: 34.27 MB / 294.8 MB, free: 14.51 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 1.483e-06/1.483e-06, allocations: 0 / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.004e-05, allocations: 6.219 kB / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001368/0.001398, allocations: 0.4996 MB / 443.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.004539, allocations: 1.954 MB / 445.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-06/0.004548, allocations: 0 / 445.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.888e-06/0.004552, allocations: 3.938 kB / 445.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.773e-06/0.004554, allocations: 0 / 445.1 MB, free: 2.828 MB / 366.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.00182/0.006374, allocations: 0.559 MB / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 1.802e-05/0.006392, allocations: 0 / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.793e-05/0.00642, allocations: 7.984 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.367e-05/0.006434, allocations: 4 kB / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-06/0.006441, allocations: 0 / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.00645, allocations: 0 / 445.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.007887, allocations: 0.8652 MB / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-06/0.007892, allocations: 0 / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.425e-05/0.007907, allocations: 0 / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.009032, allocations: 0.8223 MB / 447.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.009034, allocations: 0 / 447.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.009034, allocations: 3.938 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.009043, allocations: 0 / 447.4 MB, free: 0.5664 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.000399/0.009442, allocations: 313.6 kB / 447.7 MB, free: 236 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.009474, allocations: 8.031 kB / 447.7 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.009532, allocations: 80.22 kB / 447.7 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2085/0.218, allocations: 181.1 kB / 447.9 MB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.218, allocations: 150.9 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.218, allocations: 150.9 kB / 448.2 MB, free: 18.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.398e-05/0.2181, allocations: 103.4 kB / 448.3 MB, free: 18.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2181, allocations: 79.62 kB / 448.4 MB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.2181, allocations: 152.9 kB / 448.5 MB, free: 18.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.2182, allocations: 158.9 kB / 448.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.2182, allocations: 151.4 kB / 448.9 MB, free: 18.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.2183, allocations: 395.5 kB / 449.2 MB, free: 17.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.425e-05/0.2184, allocations: 167.9 kB / 449.4 MB, free: 17.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.2184, allocations: 81.39 kB / 449.5 MB, free: 17.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.2184, allocations: 78.44 kB / 449.6 MB, free: 17.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2184, allocations: 109.1 kB / 449.7 MB, free: 17.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.2185, allocations: 3.344 kB / 449.7 MB, free: 17.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.244e-05/0.2185, allocations: 27.77 kB / 449.7 MB, free: 17.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.2186, allocations: 154.1 kB / 449.8 MB, free: 17.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.29e-05/0.2186, allocations: 91.02 kB / 449.9 MB, free: 16.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-06/0.2186, allocations: 25.7 kB / 450 MB, free: 16.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.2186, allocations: 86.42 kB / 450 MB, free: 16.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.2186, allocations: 0 / 450 MB, free: 16.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.2186, allocations: 12.41 kB / 450.1 MB, free: 16.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.2187, allocations: 319.8 kB / 450.4 MB, free: 16.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.2187, allocations: 0 / 450.4 MB, free: 16.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.2187, allocations: 26.7 kB / 450.4 MB, free: 16.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.655e-05/0.2187, allocations: 77 kB / 450.5 MB, free: 16.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.2187, allocations: 80.59 kB / 450.5 MB, free: 16.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.722e-05/0.2188, allocations: 28.64 kB / 450.6 MB, free: 16.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2188, allocations: 81.86 kB / 450.7 MB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.2188, allocations: 81.38 kB / 450.7 MB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.2188, allocations: 153.8 kB / 450.9 MB, free: 16.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.061e-05/0.2189, allocations: 79.88 kB / 451 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.2189, allocations: 153.5 kB / 451.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.2189, allocations: 80.31 kB / 451.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2189, allocations: 87.31 kB / 451.3 MB, free: 15.65 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 6.051e-05/0.219, allocations: 267.2 kB / 451.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.219, allocations: 102.9 kB / 451.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.2191, allocations: 110.2 kB / 451.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.2191, allocations: 179.7 kB / 451.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/0.2191, allocations: 181 kB / 452.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.2191, allocations: 181.9 kB / 452.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.2192, allocations: 354.8 kB / 452.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.2192, allocations: 109.4 kB / 452.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.2192, allocations: 105.1 kB / 452.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.2193, allocations: 180.1 kB / 453 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.2193, allocations: 186.2 kB / 453.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.158e-05/0.2193, allocations: 177.8 kB / 453.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.228e-05/0.2193, allocations: 183.7 kB / 453.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.527e-05/0.2194, allocations: 312.2 kB / 453.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.2194, allocations: 105.1 kB / 454 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.2194, allocations: 181.3 kB / 454.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.2195, allocations: 110.6 kB / 454.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.2195, allocations: 179.2 kB / 454.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2195, allocations: 106.8 kB / 454.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.336e-05/0.2195, allocations: 75.28 kB / 454.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2195, allocations: 3.562 kB / 454.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000646/0.2202, allocations: 154.4 kB / 454.7 MB, free: 12.22 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.0007357/0.2209, allocations: 355.1 kB / 455.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.444e-05/0.221, allocations: 1.312 kB / 455.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.221, allocations: 0 / 455.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.221, allocations: 1.062 kB / 455.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.2212, allocations: 464.3 kB / 455.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000121/0.2213, allocations: 153.7 kB / 455.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.2214, allocations: 53.5 kB / 455.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.444e-06/0.2214, allocations: 1.906 kB / 455.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.2214, allocations: 13.47 kB / 455.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2214, allocations: 0 / 455.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Templates: time 0.008141/0.2295, allocations: 3.471 MB / 459.2 MB, free: 11.18 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/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: 5.070393431931734]