Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001253/0.002294, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000665/0.000665, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009825/0.001647, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9345/0.9345, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08329/1.018, allocations: 52.49 MB / 238.4 MB, free: 4.367 MB / 234.7 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.1329/0.1329, allocations: 32.8 MB / 272 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1353/0.2682, allocations: 12.56 MB / 284.5 MB, free: 11.87 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 285.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.062e-05, allocations: 3.406 kB / 285.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0009986/0.001009, allocations: 0.5411 MB / 286.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.001869, allocations: 0.7478 MB / 287.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-06/0.001878, allocations: 0 / 287.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.106e-06/0.001881, allocations: 0 / 287.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.11e-07/0.001881, allocations: 0 / 287.1 MB, free: 9.875 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0009524/0.002834, allocations: 0.5822 MB / 287.7 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.431e-05/0.002868, allocations: 5.062 kB / 287.7 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.128e-05/0.002889, allocations: 2.219 kB / 287.7 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.002912, allocations: 5.219 kB / 287.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.336e-05/0.002925, allocations: 0 / 287.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-06/0.00293, allocations: 1.156 kB / 287.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.003424, allocations: 392.1 kB / 288.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.003432, allocations: 1.062 kB / 288.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.458e-06/0.003441, allocations: 1.125 kB / 288.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.003752, allocations: 321.4 kB / 288.4 MB, free: 9.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.00376, allocations: 0 / 288.4 MB, free: 9.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003761, allocations: 5.469 kB / 288.4 MB, free: 9.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.003768, allocations: 0 / 288.4 MB, free: 9.133 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.0002354/0.004003, allocations: 301.5 kB / 288.7 MB, free: 8.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.415e-05/0.004027, allocations: 18.56 kB / 288.7 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.004053, allocations: 0.9375 kB / 288.7 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.737e-05/0.004111, allocations: 107.6 kB / 288.8 MB, free: 8.699 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.004118, allocations: 384 / 288.8 MB, free: 8.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.004125, allocations: 6.094 kB / 288.8 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.194e-05/0.004177, allocations: 55.5 kB / 288.9 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004184, allocations: 4.188 kB / 288.9 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-06/0.004188, allocations: 4.375 kB / 288.9 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.004193, allocations: 384 / 288.9 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.372e-05/0.004206, allocations: 33.27 kB / 288.9 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.774e-05/0.004254, allocations: 54.8 kB / 289 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.116e-05/0.004285, allocations: 50.06 kB / 289 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.004299, allocations: 40.31 kB / 289.1 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-06/0.004302, allocations: 1.781 kB / 289.1 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.004329, allocations: 58.14 kB / 289.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.00433, allocations: 0 / 289.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 8.794e-05/0.004418, allocations: 113.4 kB / 289.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.004464, allocations: 159.8 kB / 289.4 MB, free: 8.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.673e-05/0.004491, allocations: 89.86 kB / 289.5 MB, free: 7.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.004499, allocations: 31.08 kB / 289.5 MB, free: 7.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.004517, allocations: 80.14 kB / 289.6 MB, free: 7.809 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.004531, allocations: 1.344 kB / 289.6 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.00455, allocations: 11.06 kB / 289.6 MB, free: 7.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.004616, allocations: 320.1 kB / 289.9 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.004628, allocations: 34.95 kB / 290 MB, free: 7.434 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.004639, allocations: 28.23 kB / 290 MB, free: 7.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.004673, allocations: 64.17 kB / 290 MB, free: 7.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.004674, allocations: 0 / 290 MB, free: 7.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.156e-05/0.004715, allocations: 88.03 kB / 290.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.004739, allocations: 31.73 kB / 290.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.004742, allocations: 0 / 290.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.004752, allocations: 0 / 290.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.004753, allocations: 0 / 290.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.004755, allocations: 0 / 290.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.004768, allocations: 6.062 kB / 290.2 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.004772, allocations: 3.938 kB / 290.2 MB, free: 7.191 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.155e-05/0.004824, allocations: 145.6 kB / 290.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-06/0.004827, allocations: 1.906 kB / 290.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-06/0.004832, allocations: 6.375 kB / 290.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.004834, allocations: 0 / 290.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.004835, allocations: 0 / 290.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.004837, allocations: 0 / 290.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.911e-05/0.004876, allocations: 65.83 kB / 290.4 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004876, allocations: 3.125 kB / 290.4 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.004877, allocations: 0 / 290.4 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-06/0.004879, allocations: 0 / 290.4 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.00488, allocations: 0 / 290.4 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.004884, allocations: 10.89 kB / 290.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.004885, allocations: 0 / 290.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.51e-07/0.004885, allocations: 0 / 290.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.174e-05/0.004937, allocations: 117.3 kB / 290.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.004947, allocations: 1.156 kB / 290.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.021e-05/0.004957, allocations: 7.938 kB / 290.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-06/0.004966, allocations: 5.172 kB / 290.5 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.004968, allocations: 1 kB / 290.5 MB, free: 6.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.641e-06/0.004973, allocations: 8.797 kB / 290.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004973, allocations: 0 / 290.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.005157, allocations: 85.7 kB / 290.6 MB, free: 6.758 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.0003592/0.005516, allocations: 233.3 kB / 290.9 MB, free: 6.629 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.064e-05/0.005597, allocations: 118.5 kB / 291 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.005599, allocations: 0 / 291 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.005626, allocations: 86.09 kB / 291.1 MB, free: 6.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.064e-05/0.005666, allocations: 16.06 kB / 291.1 MB, free: 6.379 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001132/0.00578, allocations: 109.8 kB / 291.2 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.414e-05/0.005804, allocations: 56.73 kB / 291.2 MB, free: 6.172 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.038e-06/0.005808, allocations: 0 / 291.2 MB, free: 6.172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.005832, allocations: 55.38 kB / 291.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.005833, allocations: 0 / 291.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of Templates: time 0.003363/0.009196, allocations: 2.269 MB / 293.6 MB, free: 4.949 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.808200631290674]