Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007513/0.0007513, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001808, allocations: 452 kB / 10.43 MB, free: 264 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.0006994/0.0006994, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009379/0.001637, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8679/0.8679, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1633/1.031, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1189/0.1189, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02105/0.1399, allocations: 12.32 MB / 266.1 MB, free: 3.871 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.499e-05, allocations: 6.25 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001451/0.001466, allocations: 0.5517 MB / 267.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.00418, allocations: 1.961 MB / 269.9 MB, free: 28 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.004195, allocations: 4 kB / 269.9 MB, free: 24 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.471e-06/0.004201, allocations: 3.938 kB / 269.9 MB, free: 20 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.162e-06/0.004202, allocations: 0 / 269.9 MB, free: 20 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.006214, allocations: 0.7585 MB / 270.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.77e-05/0.006272, allocations: 3.938 kB / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.006311, allocations: 7.984 kB / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.006346, allocations: 0 / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.383e-05/0.006369, allocations: 0 / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.413e-06/0.006377, allocations: 0 / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.007674, allocations: 0.7252 MB / 271.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.007684, allocations: 0 / 271.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.0077, allocations: 4 kB / 271.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008821/0.008582, allocations: 0.5339 MB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.008593, allocations: 0 / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008594, allocations: 0 / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.008603, allocations: 0 / 271.9 MB, free: 13.98 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.0004059/0.009009, allocations: 345.7 kB / 272.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.009047, allocations: 12.03 kB / 272.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.00908, allocations: 0.9375 kB / 272.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.054e-05/0.009151, allocations: 109.8 kB / 272.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.009162, allocations: 4.375 kB / 272.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.009171, allocations: 384 / 272.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.398e-05/0.009245, allocations: 63.89 kB / 272.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.009253, allocations: 192 / 272.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-06/0.009258, allocations: 384 / 272.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.009265, allocations: 3.938 kB / 272.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.009282, allocations: 25.7 kB / 272.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.145e-05/0.009353, allocations: 57.05 kB / 272.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.009406, allocations: 48.3 kB / 272.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.009426, allocations: 34.56 kB / 272.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-06/0.00943, allocations: 0 / 272.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.009473, allocations: 68.25 kB / 272.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.009474, allocations: 0 / 272.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000131/0.009605, allocations: 110.8 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.009673, allocations: 162.2 kB / 273 MB, free: 12.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.006e-05/0.009713, allocations: 89.86 kB / 273 MB, free: 12.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.009724, allocations: 25.7 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.00975, allocations: 80.14 kB / 273.1 MB, free: 12.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.009772, allocations: 4 kB / 273.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.0098, allocations: 13.84 kB / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.009892, allocations: 314.8 kB / 273.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.009912, allocations: 29.7 kB / 273.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.009927, allocations: 25.7 kB / 273.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.879e-05/0.009976, allocations: 68.19 kB / 273.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009979, allocations: 0 / 273.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.829e-05/0.01005, allocations: 89.11 kB / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.01009, allocations: 29.7 kB / 273.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01009, allocations: 7.922 kB / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.0101, allocations: 4.094 kB / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.562e-06/0.01011, allocations: 0 / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.01011, allocations: 4 kB / 273.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.01013, allocations: 3.953 kB / 273.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.01014, allocations: 3.938 kB / 273.7 MB, free: 11.91 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 7.179e-05/0.01021, allocations: 135.5 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-06/0.01022, allocations: 4 kB / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-06/0.01023, allocations: 3 kB / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.01023, allocations: 0 / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01023, allocations: 3.938 kB / 273.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01023, allocations: 8 kB / 273.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.01033, allocations: 69.81 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01033, allocations: 0 / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.01034, allocations: 0 / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-06/0.01034, allocations: 4 kB / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.01034, allocations: 3.984 kB / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.01035, allocations: 0 / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01035, allocations: 0 / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01035, allocations: 0 / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.229e-05/0.01043, allocations: 112.5 kB / 274.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.01044, allocations: 4 kB / 274.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.01045, allocations: 4.031 kB / 274.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-06/0.01046, allocations: 0 / 274.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.01047, allocations: 4 kB / 274.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.255e-06/0.01047, allocations: 8.859 kB / 274.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01047, allocations: 0 / 274.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.01089, allocations: 135.6 kB / 274.2 MB, free: 11.35 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.0007228/0.01161, allocations: 287.5 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.7e-05/0.0117, allocations: 119.7 kB / 274.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.0117, allocations: 8 kB / 274.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.01173, allocations: 85.97 kB / 274.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.605e-05/0.01178, allocations: 15.86 kB / 274.7 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001323/0.01191, allocations: 108 kB / 274.8 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.432e-05/0.01193, allocations: 51.36 kB / 274.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.779e-06/0.01194, allocations: 0 / 274.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.01197, allocations: 55.36 kB / 274.9 MB, free: 10.53 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01197, allocations: 0 / 274.9 MB, free: 10.53 MB / 282.7 MB Notification: Performance of Templates: time 0.005755/0.01772, allocations: 4.522 MB / 279.5 MB, free: 5.996 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5941233225166798]