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.001424/0.001424, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001539/0.001539, allocations: 161.7 kB / 24.27 MB, free: 172 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.497/1.497, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3522/0.3522, allocations: 32.8 MB / 293.9 MB, free: 1.227 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.402e-06/1.402e-06, allocations: 0 / 375.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.737e-05, allocations: 2.312 kB / 375.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001442/0.00147, allocations: 0.4893 MB / 375.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.003861, allocations: 1.553 MB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.003874, allocations: 4 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.003885, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.03e-06/0.00389, allocations: 0 / 377.3 MB, free: 2.965 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.000964/0.004854, allocations: 299 kB / 377.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.307e-05/0.004897, allocations: 7.984 kB / 377.6 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.754e-05/0.004925, allocations: 0 / 377.6 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.004948, allocations: 7.938 kB / 377.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.61e-05/0.004964, allocations: 0 / 377.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-06/0.00497, allocations: 3.938 kB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007093/0.005679, allocations: 419.1 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.005687, allocations: 0 / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.005714, allocations: 7.984 kB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.006203, allocations: 315.1 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.006205, allocations: 0 / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006206, allocations: 4 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.006209, allocations: 0 / 378.3 MB, free: 1.922 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.0003835/0.006592, allocations: 299.7 kB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.006627, allocations: 8.031 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.006667, allocations: 0.9375 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.00677, allocations: 105.8 kB / 378.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.006782, allocations: 4.375 kB / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.006789, allocations: 384 / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.006894, allocations: 63.89 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006902, allocations: 192 / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.006909, allocations: 384 / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.006916, allocations: 3.938 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.006949, allocations: 25.7 kB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.007079, allocations: 105.3 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.993e-05/0.007149, allocations: 48.25 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.007188, allocations: 42.66 kB / 379 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.007197, allocations: 0 / 379 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.007252, allocations: 60.2 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 5.82e-07/0.007253, allocations: 0 / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002279/0.007481, allocations: 122.8 kB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.007548, allocations: 81.05 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.007606, allocations: 89.86 kB / 379.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.007636, allocations: 25.7 kB / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.00768, allocations: 80.14 kB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.007694, allocations: 0 / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.00773, allocations: 21.84 kB / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.007899, allocations: 310.8 kB / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.007931, allocations: 29.7 kB / 379.8 MB, free: 200 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.007957, allocations: 29.69 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.652e-05/0.008023, allocations: 64.2 kB / 379.9 MB, free: 84 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008025, allocations: 0 / 379.9 MB, free: 84 kB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001144/0.008139, allocations: 89.11 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.008178, allocations: 33.69 kB / 380 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.008182, allocations: 0 / 380 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.008199, allocations: 4.094 kB / 380 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.0082, allocations: 4 kB / 380 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.008206, allocations: 7.875 kB / 380 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.008219, allocations: 0 / 380 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.008224, allocations: 0 / 380 MB, free: 15.92 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.000102/0.008326, allocations: 135.5 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.008339, allocations: 3.953 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-06/0.008347, allocations: 6.938 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.008348, allocations: 0 / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.008351, allocations: 0 / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.008357, allocations: 11.92 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.985e-05/0.008447, allocations: 105.3 kB / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.008448, allocations: 0 / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.008448, allocations: 0 / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.008449, allocations: 0 / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.008457, allocations: 4 kB / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.008458, allocations: 0 / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008458, allocations: 0 / 380.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.008601, allocations: 120.5 kB / 380.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-06/0.008605, allocations: 0 / 380.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.008619, allocations: 4 kB / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-06/0.008628, allocations: 4.031 kB / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.008642, allocations: 0 / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.008645, allocations: 0 / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.535e-05/0.00869, allocations: 83.2 kB / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00869, allocations: 3.938 kB / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.008991, allocations: 59.81 kB / 380.6 MB, free: 15.32 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.0005293/0.00952, allocations: 199.1 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.009761, allocations: 114.8 kB / 380.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009762, allocations: 0 / 380.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.009825, allocations: 81.11 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.009952, allocations: 8.125 kB / 381 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.01016, allocations: 115.9 kB / 381.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.01021, allocations: 51.36 kB / 381.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.073e-06/0.01022, allocations: 4 kB / 381.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.01023, allocations: 8.5 kB / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01023, allocations: 0 / 381.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of Templates: time 0.00451/0.01474, allocations: 1.324 MB / 382.5 MB, free: 13.33 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] 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.71068459097296]