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.0009892/0.0009892, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001202/0.001202, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 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 0.9631/0.9631, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.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.1309/0.1309, allocations: 34.25 MB / 296.1 MB, free: 13.99 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.643e-06/1.643e-06, allocations: 0 / 325.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.1e-05, allocations: 2.312 kB / 325.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0009879/0.001009, allocations: 0.4923 MB / 325.7 MB, free: 320 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.002047, allocations: 0.7445 MB / 326.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.002062, allocations: 4 kB / 326.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.002077, allocations: 0 / 326.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.002084, allocations: 0 / 326.5 MB, free: 15.56 MB / 314.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.001394/0.003478, allocations: 0.6651 MB / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.713e-05/0.003525, allocations: 0 / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.003566, allocations: 4 kB / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.003594, allocations: 0 / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.176e-05/0.003616, allocations: 0 / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.003624, allocations: 0 / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005543/0.004178, allocations: 415 kB / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.004186, allocations: 0 / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.004199, allocations: 8 kB / 327.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.004557, allocations: 386.9 kB / 327.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004559, allocations: 0 / 327.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00456, allocations: 0 / 327.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004563, allocations: 0 / 327.9 MB, free: 14.09 MB / 314.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.0003085/0.004872, allocations: 286 kB / 328.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.004912, allocations: 12.03 kB / 328.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.004939, allocations: 0.9375 kB / 328.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.648e-05/0.005006, allocations: 109.8 kB / 328.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.00502, allocations: 8.375 kB / 328.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.00503, allocations: 4.375 kB / 328.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/0.005116, allocations: 59.95 kB / 328.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.005124, allocations: 192 / 328.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.00513, allocations: 384 / 328.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005136, allocations: 384 / 328.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.005156, allocations: 37.52 kB / 328.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.92e-05/0.005225, allocations: 57.05 kB / 328.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.005271, allocations: 40.28 kB / 328.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.005288, allocations: 34.66 kB / 328.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-06/0.005291, allocations: 0 / 328.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.005326, allocations: 68.25 kB / 328.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.005327, allocations: 0 / 328.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001144/0.005442, allocations: 118.8 kB / 328.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.005481, allocations: 77.11 kB / 328.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.444e-05/0.005516, allocations: 93.84 kB / 328.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.005526, allocations: 25.7 kB / 328.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.005547, allocations: 84.14 kB / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.005559, allocations: 352 / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.005578, allocations: 9.719 kB / 329 MB, free: 12.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.005655, allocations: 318.8 kB / 329.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.005669, allocations: 29.83 kB / 329.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.21e-05/0.005681, allocations: 25.7 kB / 329.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.005726, allocations: 64.25 kB / 329.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005728, allocations: 0 / 329.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.997e-05/0.005778, allocations: 89.05 kB / 329.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.0058, allocations: 29.7 kB / 329.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005804, allocations: 0 / 329.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.005818, allocations: 0 / 329.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-06/0.005821, allocations: 0 / 329.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.005824, allocations: 4 kB / 329.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-06/0.005833, allocations: 8.078 kB / 329.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.005838, allocations: 0 / 329.6 MB, free: 12.18 MB / 314.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.984e-05/0.005898, allocations: 147.5 kB / 329.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-06/0.005901, allocations: 0 / 329.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-06/0.005909, allocations: 3 kB / 329.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.00591, allocations: 0 / 329.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005911, allocations: 0 / 329.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.005914, allocations: 0 / 329.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.344e-05/0.005957, allocations: 69.8 kB / 329.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005959, allocations: 3.984 kB / 329.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.005959, allocations: 4 kB / 329.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.00596, allocations: 3.938 kB / 329.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.005964, allocations: 0 / 329.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.005964, allocations: 4 kB / 329.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005966, allocations: 0 / 329.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.068e-05/0.006026, allocations: 116.4 kB / 329.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-06/0.006029, allocations: 0 / 329.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.006041, allocations: 4 kB / 329.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-06/0.006045, allocations: 0 / 329.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-06/0.006052, allocations: 0 / 329.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.006054, allocations: 32 / 329.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.161e-06/0.00606, allocations: 8.859 kB / 329.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00606, allocations: 0 / 329.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.006292, allocations: 83.73 kB / 330 MB, free: 11.67 MB / 314.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.0004096/0.006702, allocations: 245.7 kB / 330.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.698e-05/0.006789, allocations: 111.7 kB / 330.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.006791, allocations: 3.938 kB / 330.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.006825, allocations: 94.02 kB / 330.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.488e-05/0.00687, allocations: 7.938 kB / 330.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001364/0.007006, allocations: 104 kB / 330.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.797e-05/0.007034, allocations: 55.34 kB / 330.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.999e-06/0.007039, allocations: 0 / 330.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.007066, allocations: 51.38 kB / 330.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of SimCode: time 4.1e-07/0.007066, allocations: 0 / 330.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Templates: time 0.003531/0.0106, allocations: 2.316 MB / 333 MB, free: 8.598 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.865755937062204]