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.001068/0.001068, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009307/0.0009307, allocations: 161 kB / 24.56 MB, free: 16 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.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.2708/0.2708, allocations: 32.8 MB / 294.3 MB, free: 1.281 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 1.794e-06/1.794e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.123e-05, allocations: 10.25 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0009184/0.0009396, allocations: 0.5079 MB / 376.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.003241, allocations: 2.012 MB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-06/0.003249, allocations: 0 / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.08e-05/0.00326, allocations: 0 / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.643e-06/0.003261, allocations: 0 / 378.5 MB, free: 2.145 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.001526/0.004788, allocations: 0.5607 MB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 1.658e-05/0.004804, allocations: 0 / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.849e-05/0.004833, allocations: 4 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/0.004846, allocations: 0 / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-06/0.004856, allocations: 3.984 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.004864, allocations: 0 / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.005883, allocations: 0.8613 MB / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-06/0.005889, allocations: 0 / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.005e-05/0.005899, allocations: 0 / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008661/0.006765, allocations: 0.8222 MB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.00677, allocations: 4 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006771, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.006775, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.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.0003629/0.007138, allocations: 411.6 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.007179, allocations: 8.031 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.007238, allocations: 124.1 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.007323, allocations: 227.8 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.007386, allocations: 242.8 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.007453, allocations: 238.8 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.287e-05/0.007526, allocations: 145.5 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.007558, allocations: 123.3 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.00763, allocations: 242.8 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/0.007701, allocations: 242.3 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.007763, allocations: 246.4 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.007982, allocations: 0.5681 MB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.47e-05/0.008067, allocations: 265.4 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.008103, allocations: 130.8 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.008129, allocations: 123.2 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.008177, allocations: 156.6 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.008178, allocations: 0 / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.041e-05/0.008238, allocations: 29.7 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.008309, allocations: 200.2 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.039e-05/0.00835, allocations: 146.2 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.008359, allocations: 25.7 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.008397, allocations: 126.9 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.008399, allocations: 0 / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.008419, allocations: 15.38 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.008547, allocations: 0.4923 MB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.008554, allocations: 3.938 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.008585, allocations: 25.7 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.00862, allocations: 119.2 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-05/0.008655, allocations: 119.2 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.021e-05/0.008695, allocations: 29.7 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.00874, allocations: 127.1 kB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.008773, allocations: 127.1 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.942e-05/0.008843, allocations: 242.4 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.382e-05/0.008877, allocations: 119.2 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.819e-05/0.008935, allocations: 250.2 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.008991, allocations: 127.3 kB / 386.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.009022, allocations: 127.1 kB / 386.6 MB, free: 9.812 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.0001247/0.009146, allocations: 399 kB / 387 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.009193, allocations: 144.9 kB / 387.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.009241, allocations: 147.9 kB / 387.3 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-05/0.009301, allocations: 276 kB / 387.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.179e-05/0.009363, allocations: 264.1 kB / 387.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.46e-05/0.009427, allocations: 272 kB / 388.1 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.009583, allocations: 495.9 kB / 388.6 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-05/0.009618, allocations: 148.9 kB / 388.7 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.009653, allocations: 156.8 kB / 388.9 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.216e-05/0.009715, allocations: 268.1 kB / 389.1 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/0.009784, allocations: 268 kB / 389.4 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.205e-05/0.009846, allocations: 268.1 kB / 389.6 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-05/0.009905, allocations: 268.4 kB / 389.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.01003, allocations: 451.9 kB / 390.3 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.01007, allocations: 148.8 kB / 390.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/0.01014, allocations: 268.1 kB / 390.8 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/0.01019, allocations: 152.9 kB / 390.9 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.01026, allocations: 272 kB / 391.2 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.01031, allocations: 148.9 kB / 391.3 MB, free: 4.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.01034, allocations: 123.1 kB / 391.4 MB, free: 4.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01034, allocations: 0 / 391.4 MB, free: 4.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.01076, allocations: 151.6 kB / 391.6 MB, free: 4.637 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.000545/0.0113, allocations: 413.1 kB / 392 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.661e-05/0.01135, allocations: 7.938 kB / 392 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01135, allocations: 0 / 392 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.01135, allocations: 0 / 392 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.01161, allocations: 0.7061 MB / 392.7 MB, free: 3.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001352/0.01175, allocations: 202.1 kB / 392.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.01178, allocations: 51.36 kB / 393 MB, free: 3.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.085e-06/0.01179, allocations: 0 / 393 MB, free: 3.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.0118, allocations: 16.5 kB / 393 MB, free: 3.207 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0118, allocations: 0 / 393 MB, free: 3.207 MB / 362.7 MB Notification: Performance of Templates: time 0.004978/0.01678, allocations: 3.519 MB / 396.5 MB, free: 15.68 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2197063569910824]