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.002277/0.002277, allocations: 81.17 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002038/0.002038, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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.398/1.398, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.2002/0.2002, allocations: 32.8 MB / 293.5 MB, free: 28 kB / 270.1 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.052e-06/1.052e-06, allocations: 0 / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.713e-05, allocations: 2.281 kB / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001238/0.001255, allocations: 0.4894 MB / 440.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.003425, allocations: 1.557 MB / 442.1 MB, free: 6.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.003443, allocations: 3.938 kB / 442.1 MB, free: 6.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.003455, allocations: 0 / 442.1 MB, free: 6.105 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.00346, allocations: 0 / 442.1 MB, free: 6.105 MB / 366.1 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.001116/0.004576, allocations: 295.1 kB / 442.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.504e-05/0.004621, allocations: 0 / 442.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.004664, allocations: 7.984 kB / 442.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.00469, allocations: 0 / 442.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.836e-05/0.004708, allocations: 0 / 442.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.004716, allocations: 0 / 442.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009956/0.005711, allocations: 426.9 kB / 442.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.898e-06/0.005721, allocations: 4 kB / 442.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.005747, allocations: 4 kB / 442.8 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.006376, allocations: 319.2 kB / 443.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006379, allocations: 0 / 443.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00638, allocations: 0 / 443.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.006384, allocations: 0 / 443.1 MB, free: 5.07 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005081/0.006892, allocations: 299.7 kB / 443.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.006934, allocations: 8.031 kB / 443.4 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.006979, allocations: 0.9375 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.007098, allocations: 105.8 kB / 443.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.007113, allocations: 384 / 443.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.007122, allocations: 4.375 kB / 443.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.007255, allocations: 59.95 kB / 443.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.007265, allocations: 192 / 443.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.007274, allocations: 384 / 443.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.007284, allocations: 7.922 kB / 443.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.007326, allocations: 33.7 kB / 443.7 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.007477, allocations: 97.33 kB / 443.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.227e-05/0.007569, allocations: 48.25 kB / 443.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.007611, allocations: 30.56 kB / 443.8 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.007628, allocations: 3.984 kB / 443.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.457e-05/0.007702, allocations: 60.27 kB / 443.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.007704, allocations: 4.062 kB / 443.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002951/0.007999, allocations: 118.8 kB / 444 MB, free: 4.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.008082, allocations: 85.03 kB / 444.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.008158, allocations: 89.86 kB / 444.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.008189, allocations: 25.7 kB / 444.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.00825, allocations: 80.14 kB / 444.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.008271, allocations: 7.938 kB / 444.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.008313, allocations: 17.72 kB / 444.3 MB, free: 3.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.008488, allocations: 310.8 kB / 444.6 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.008532, allocations: 37.77 kB / 444.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.008555, allocations: 29.64 kB / 444.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.227e-05/0.008627, allocations: 64.25 kB / 444.7 MB, free: 3.223 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008629, allocations: 0 / 444.7 MB, free: 3.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001276/0.008756, allocations: 93.05 kB / 444.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.008802, allocations: 29.7 kB / 444.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.008807, allocations: 0 / 444.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.00882, allocations: 0 / 444.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.008821, allocations: 0 / 444.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.008833, allocations: 11.92 kB / 444.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.008851, allocations: 4.094 kB / 444.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.008856, allocations: 0 / 444.9 MB, free: 3.062 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: 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.0001183/0.008974, allocations: 135.5 kB / 445 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.008986, allocations: 0 / 445 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.008999, allocations: 7 kB / 445 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.009, allocations: 0 / 445 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009004, allocations: 0 / 445 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.009009, allocations: 3.938 kB / 445 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.009121, allocations: 101.3 kB / 445.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009122, allocations: 0 / 445.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.009122, allocations: 4 kB / 445.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.009124, allocations: 0 / 445.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.00913, allocations: 0 / 445.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009131, allocations: 0 / 445.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.009132, allocations: 0 / 445.1 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.009292, allocations: 124.4 kB / 445.2 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.009297, allocations: 4 kB / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.00931, allocations: 0 / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.009323, allocations: 0 / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.009333, allocations: 0 / 445.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.009338, allocations: 8 kB / 445.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.009384, allocations: 83.25 kB / 445.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.009384, allocations: 0 / 445.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004867/0.009871, allocations: 67.73 kB / 445.4 MB, free: 2.457 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: 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.0005953/0.01047, allocations: 202.4 kB / 445.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.01064, allocations: 118.8 kB / 445.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01064, allocations: 0 / 445.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.341e-05/0.01071, allocations: 85.05 kB / 445.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.01091, allocations: 3.094 kB / 445.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.01114, allocations: 110.6 kB / 445.9 MB, free: 1.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.01121, allocations: 63.47 kB / 446 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.781e-06/0.01121, allocations: 0 / 446 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.01123, allocations: 8.5 kB / 446 MB, free: 1.785 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01123, allocations: 0 / 446 MB, free: 1.785 MB / 366.1 MB Notification: Performance of Templates: time 0.005653/0.01688, allocations: 1.307 MB / 447.3 MB, free: 496 kB / 366.1 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.594607826322317]