Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.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.0008242/0.0008242, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001917, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006885/0.0006885, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008787/0.001567, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8799/0.8799, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08156/0.9614, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2427/0.2427, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02206/0.2648, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.276e-05, allocations: 3.188 kB / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0009748/0.0009876, allocations: 0.5573 MB / 293.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008171/0.001805, allocations: 0.7473 MB / 294.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.001816, allocations: 0 / 294.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.266e-06/0.001819, allocations: 0 / 294.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.71e-07/0.00182, allocations: 0 / 294.1 MB, free: 4.906 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.002865, allocations: 0.6416 MB / 294.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.098e-05/0.002906, allocations: 12 kB / 294.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.428e-05/0.002931, allocations: 0 / 294.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.688e-05/0.002957, allocations: 0 / 294.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.79e-05/0.002975, allocations: 0 / 294.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-06/0.002981, allocations: 0 / 294.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006198/0.003601, allocations: 423.1 kB / 295.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.00361, allocations: 0 / 295.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.278e-05/0.003623, allocations: 4 kB / 295.2 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.004021, allocations: 319.1 kB / 295.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.004031, allocations: 0 / 295.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004031, allocations: 0 / 295.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.00404, allocations: 0 / 295.5 MB, free: 3.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002814/0.004322, allocations: 309.9 kB / 295.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.004352, allocations: 8.031 kB / 295.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.004383, allocations: 0.9375 kB / 295.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.806e-05/0.004441, allocations: 105.8 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.00445, allocations: 4.375 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.004458, allocations: 384 / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.824e-05/0.004526, allocations: 59.95 kB / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.004532, allocations: 192 / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-06/0.004537, allocations: 384 / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.004542, allocations: 384 / 296 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.004559, allocations: 37.58 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.84e-05/0.004617, allocations: 53.05 kB / 296.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.004656, allocations: 52.3 kB / 296.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.004673, allocations: 42.48 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-06/0.004676, allocations: 4.062 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.004708, allocations: 60.25 kB / 296.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.004709, allocations: 0 / 296.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001047/0.004813, allocations: 114.8 kB / 296.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.004869, allocations: 158.2 kB / 296.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.376e-05/0.004902, allocations: 93.86 kB / 296.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.004911, allocations: 25.7 kB / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.004929, allocations: 84.14 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.004948, allocations: 3.938 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.004972, allocations: 9.844 kB / 296.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.005047, allocations: 326.8 kB / 297 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.00506, allocations: 25.7 kB / 297.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/0.005072, allocations: 29.7 kB / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.005112, allocations: 64.25 kB / 297.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005113, allocations: 0 / 297.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.239e-05/0.005166, allocations: 85.05 kB / 297.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.005198, allocations: 33.69 kB / 297.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005202, allocations: 4 kB / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.005212, allocations: 96 / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.005214, allocations: 4 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005216, allocations: 0 / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.005234, allocations: 0.6875 kB / 297.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.005241, allocations: 0 / 297.3 MB, free: 1.48 MB / 282.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 5.556e-05/0.005297, allocations: 139.5 kB / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-06/0.005302, allocations: 0 / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-06/0.005308, allocations: 3 kB / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.00531, allocations: 4 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.005313, allocations: 3.984 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005315, allocations: 0 / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.663e-05/0.005362, allocations: 69.83 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.005362, allocations: 0 / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-06/0.00537, allocations: 8 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.005374, allocations: 0 / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.005375, allocations: 0 / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.005379, allocations: 0 / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00538, allocations: 3.938 kB / 297.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.00538, allocations: 0 / 297.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.657e-05/0.005447, allocations: 124.4 kB / 297.6 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.005457, allocations: 0 / 297.6 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-06/0.005465, allocations: 4.031 kB / 297.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-06/0.005472, allocations: 0 / 297.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.005475, allocations: 7.984 kB / 297.6 MB, free: 1.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.082e-06/0.005481, allocations: 4.859 kB / 297.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005482, allocations: 0 / 297.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.005754, allocations: 83.73 kB / 297.7 MB, free: 0.9688 MB / 282.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.0004236/0.006178, allocations: 237.3 kB / 297.9 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.075e-05/0.006258, allocations: 119.7 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.006261, allocations: 0 / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.006293, allocations: 93.89 kB / 298.2 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.341e-05/0.006346, allocations: 10.75 kB / 298.2 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001269/0.006473, allocations: 113.1 kB / 298.3 MB, free: 344 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.646e-05/0.006499, allocations: 55.36 kB / 298.3 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.368e-06/0.006504, allocations: 3.938 kB / 298.3 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.00653, allocations: 51.38 kB / 298.4 MB, free: 212 kB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.006531, allocations: 0 / 298.4 MB, free: 212 kB / 282.7 MB Notification: Performance of Templates: time 0.004122/0.01065, allocations: 2.375 MB / 300.8 MB, free: 13.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7678757356479764]