Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009901/0.0009901, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.0009748/0.0009748, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9269/0.9269, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1449/0.1449, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 348.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.251e-05, allocations: 8.219 kB / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001111/0.001124, allocations: 0.5141 MB / 348.6 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.003198, allocations: 1.963 MB / 350.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-06/0.003202, allocations: 0 / 350.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.003215, allocations: 0 / 350.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.343e-06/0.003216, allocations: 0 / 350.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.004532, allocations: 0.5699 MB / 351.2 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 1.279e-05/0.004545, allocations: 4 kB / 351.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.877e-05/0.004564, allocations: 0 / 351.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.144e-05/0.004575, allocations: 3.984 kB / 351.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.089e-05/0.004586, allocations: 0 / 351.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-06/0.004593, allocations: 0 / 351.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009635/0.005556, allocations: 0.8457 MB / 352 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-06/0.005562, allocations: 0 / 352 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.017e-05/0.005572, allocations: 0 / 352 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006971/0.006269, allocations: 0.7988 MB / 352.8 MB, free: 4.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.006271, allocations: 4 kB / 352.8 MB, free: 4.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006271, allocations: 0 / 352.8 MB, free: 4.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.006274, allocations: 0 / 352.8 MB, free: 4.48 MB / 282.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.0002102/0.006485, allocations: 407.7 kB / 353.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.006518, allocations: 8.031 kB / 353.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.006549, allocations: 128.1 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.857e-05/0.006587, allocations: 227.8 kB / 353.6 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.00661, allocations: 238.8 kB / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.006632, allocations: 246.7 kB / 354 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.628e-05/0.006668, allocations: 145.5 kB / 354.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.006681, allocations: 123.4 kB / 354.3 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.006704, allocations: 238.8 kB / 354.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.006727, allocations: 242.3 kB / 354.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.006751, allocations: 246.3 kB / 355 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.006887, allocations: 0.5491 MB / 355.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/0.006926, allocations: 269.4 kB / 355.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.006938, allocations: 126.9 kB / 355.9 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.006949, allocations: 119.2 kB / 356.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.006977, allocations: 156.6 kB / 356.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.82e-07/0.006977, allocations: 0 / 356.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.057e-05/0.007038, allocations: 33.62 kB / 356.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.007069, allocations: 204.3 kB / 356.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.769e-05/0.007087, allocations: 142.2 kB / 356.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-06/0.007091, allocations: 25.7 kB / 356.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.361e-05/0.007105, allocations: 130.9 kB / 356.7 MB, free: 376 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.52e-07/0.007106, allocations: 4 kB / 356.7 MB, free: 372 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.007124, allocations: 15.38 kB / 356.8 MB, free: 348 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.007213, allocations: 0.4883 MB / 357.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-06/0.007216, allocations: 0 / 357.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.007242, allocations: 33.73 kB / 357.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.007275, allocations: 119.2 kB / 357.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.26e-05/0.007308, allocations: 119.2 kB / 357.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.131e-05/0.007359, allocations: 33.64 kB / 357.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.007403, allocations: 127.2 kB / 357.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/0.007438, allocations: 123.2 kB / 357.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.058e-05/0.007519, allocations: 242.3 kB / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.292e-05/0.007552, allocations: 123.2 kB / 358.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.866e-05/0.00762, allocations: 238.4 kB / 358.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.007695, allocations: 127.1 kB / 358.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.007729, allocations: 123.2 kB / 358.6 MB, free: 14.44 MB / 298.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.0001338/0.007863, allocations: 395 kB / 359 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.007932, allocations: 160.8 kB / 359.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.007992, allocations: 147.9 kB / 359.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-05/0.008068, allocations: 264.1 kB / 359.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-05/0.008148, allocations: 272 kB / 359.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.141e-05/0.008229, allocations: 268.1 kB / 360.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.008447, allocations: 484.4 kB / 360.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-05/0.00849, allocations: 148.9 kB / 360.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.008531, allocations: 148.9 kB / 360.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.841e-05/0.0086, allocations: 268 kB / 361.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-05/0.008671, allocations: 272.1 kB / 361.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.098e-05/0.008742, allocations: 279.9 kB / 361.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.617e-05/0.008808, allocations: 268.1 kB / 361.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.008956, allocations: 448.2 kB / 362.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.008999, allocations: 148.9 kB / 362.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.009077, allocations: 276 kB / 362.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.009152, allocations: 148.9 kB / 362.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.009225, allocations: 268 kB / 363.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.009264, allocations: 144.9 kB / 363.3 MB, free: 9.547 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.009304, allocations: 123.2 kB / 363.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009304, allocations: 0 / 363.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000517/0.009821, allocations: 151.5 kB / 363.6 MB, free: 9.277 MB / 298.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.0005724/0.01039, allocations: 395 kB / 364 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.414e-05/0.01043, allocations: 0 / 364 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01043, allocations: 0 / 364 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.01043, allocations: 7.938 kB / 364 MB, free: 8.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.0108, allocations: 0.7061 MB / 364.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001284/0.01093, allocations: 202.1 kB / 364.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.01097, allocations: 51.36 kB / 364.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.012e-05/0.01098, allocations: 7.984 kB / 364.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.01101, allocations: 66.2 kB / 365 MB, free: 7.805 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01101, allocations: 0 / 365 MB, free: 7.805 MB / 298.7 MB Notification: Performance of Templates: time 0.006374/0.01738, allocations: 4.017 MB / 369 MB, free: 3.789 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0897179134190083]