Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.002407/0.002407, allocations: 91.61 kB / 20.96 MB, free: 3.453 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.002786/0.002786, allocations: 165.3 kB / 24.28 MB, free: 144 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.619/1.619, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3485/0.3485, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.705e-05/3.853e-05, allocations: 6.25 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001998/0.002036, allocations: 0.4964 MB / 375.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.004548, allocations: 1.576 MB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.004565, allocations: 4 kB / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.004577, allocations: 0 / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.004582, allocations: 0 / 377.3 MB, free: 2.922 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.005592, allocations: 295.1 kB / 377.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.863e-05/0.005631, allocations: 0 / 377.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.005666, allocations: 4 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.005699, allocations: 7.938 kB / 377.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.574e-05/0.005715, allocations: 0 / 377.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-06/0.005721, allocations: 0 / 377.6 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008228/0.006544, allocations: 427 kB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-06/0.006551, allocations: 4 kB / 378 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.00657, allocations: 4 kB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.007084, allocations: 315.1 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.007087, allocations: 0 / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.007088, allocations: 0 / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.007092, allocations: 4 kB / 378.4 MB, free: 1.883 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004593/0.007551, allocations: 401.7 kB / 378.7 MB, free: 1.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.007585, allocations: 11.97 kB / 378.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.007622, allocations: 0.9375 kB / 378.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.287e-05/0.007715, allocations: 104.6 kB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.00773, allocations: 4.375 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.007736, allocations: 4.375 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.00784, allocations: 59.91 kB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.007852, allocations: 4.188 kB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.00786, allocations: 384 / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.007865, allocations: 3.938 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.007901, allocations: 29.69 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.008038, allocations: 112.6 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.806e-05/0.008116, allocations: 52.77 kB / 379.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.008166, allocations: 37.48 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.008176, allocations: 0 / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.897e-05/0.008235, allocations: 67.03 kB / 379.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.008235, allocations: 4 kB / 379.2 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002229/0.008458, allocations: 118.8 kB / 379.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.008525, allocations: 81.05 kB / 379.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.00861, allocations: 142.2 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.008629, allocations: 25.7 kB / 379.6 MB, free: 428 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.008696, allocations: 126.9 kB / 379.7 MB, free: 296 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.00872, allocations: 7.984 kB / 379.7 MB, free: 288 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.008758, allocations: 19.36 kB / 379.7 MB, free: 260 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002737/0.009031, allocations: 496.2 kB / 380.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.009059, allocations: 33.7 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.009094, allocations: 25.7 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.009159, allocations: 67.03 kB / 380.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.009162, allocations: 0 / 380.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/0.009263, allocations: 93.09 kB / 380.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.009302, allocations: 33.7 kB / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.009306, allocations: 0 / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.009318, allocations: 0 / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.009318, allocations: 0 / 380.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.009324, allocations: 8.031 kB / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.009337, allocations: 0 / 380.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.009344, allocations: 0 / 380.5 MB, free: 15.45 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001294/0.009473, allocations: 190.2 kB / 380.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.009488, allocations: 3.953 kB / 380.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-06/0.009495, allocations: 10.94 kB / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.009496, allocations: 0 / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.0095, allocations: 0 / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.009504, allocations: 3.938 kB / 380.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.591e-05/0.0096, allocations: 108.6 kB / 380.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.009601, allocations: 4 kB / 380.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-06/0.009607, allocations: 7.984 kB / 380.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-06/0.009608, allocations: 0 / 380.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.009614, allocations: 0 / 380.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.009614, allocations: 0 / 380.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.009615, allocations: 0 / 380.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.009757, allocations: 131.8 kB / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.009763, allocations: 8 kB / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.009774, allocations: 0 / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.009784, allocations: 4 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.009801, allocations: 0 / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.009806, allocations: 8.031 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.00987, allocations: 123.1 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00987, allocations: 3.938 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004251/0.0103, allocations: 63.8 kB / 381.1 MB, free: 14.71 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005029/0.0108, allocations: 182.7 kB / 381.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01096, allocations: 126.5 kB / 381.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01097, allocations: 0 / 381.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.013e-05/0.01104, allocations: 88.8 kB / 381.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.01116, allocations: 4 kB / 381.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.01137, allocations: 121.8 kB / 381.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.384e-05/0.01142, allocations: 51.36 kB / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.109e-06/0.01143, allocations: 0 / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.01145, allocations: 16.44 kB / 381.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01145, allocations: 0 / 381.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of Templates: time 0.004661/0.01611, allocations: 1.324 MB / 383 MB, free: 12.7 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.912913199979812]