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.0009316/0.0009316, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002114, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007139/0.0007139, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009016/0.001615, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.8648/0.8648, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1593/1.024, allocations: 49.5 MB / 220.5 MB, free: 5.281 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.1424/0.1424, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01841/0.1608, allocations: 12.3 MB / 265.9 MB, free: 7.84 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 1.122e-06/1.122e-06, allocations: 3.938 kB / 267.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.147e-05, allocations: 6.25 kB / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001229/0.001251, allocations: 0.5516 MB / 267.7 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.003048, allocations: 1.961 MB / 269.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.003062, allocations: 0 / 269.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.549e-06/0.003066, allocations: 0 / 269.7 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.312e-06/0.003067, allocations: 7.938 kB / 269.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.004483, allocations: 0.7546 MB / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.004536, allocations: 15.92 kB / 270.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.898e-05/0.004565, allocations: 0 / 270.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.004594, allocations: 0 / 270.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.053e-05/0.004615, allocations: 4 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.004621, allocations: 0 / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008796/0.005501, allocations: 0.7252 MB / 271.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-06/0.005508, allocations: 0 / 271.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.115e-05/0.005519, allocations: 0 / 271.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.006019, allocations: 0.534 MB / 271.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.006031, allocations: 0 / 271.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006031, allocations: 0 / 271.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.006044, allocations: 0 / 271.7 MB, free: 1.973 MB / 266.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.000334/0.006378, allocations: 345.7 kB / 272.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.006405, allocations: 12.03 kB / 272.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.006433, allocations: 0.9375 kB / 272.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.469e-05/0.006488, allocations: 109.7 kB / 272.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.006498, allocations: 4.375 kB / 272.2 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-06/0.006503, allocations: 384 / 272.2 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.154e-05/0.006564, allocations: 55.97 kB / 272.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.00657, allocations: 4.188 kB / 272.3 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-06/0.006575, allocations: 384 / 272.3 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.006581, allocations: 3.938 kB / 272.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.006598, allocations: 29.69 kB / 272.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.449e-05/0.006652, allocations: 61.05 kB / 272.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.791e-05/0.00669, allocations: 52.23 kB / 272.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.006704, allocations: 30.56 kB / 272.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-06/0.006708, allocations: 0 / 272.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.00674, allocations: 60.33 kB / 272.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.00674, allocations: 4 kB / 272.5 MB, free: 1.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 9.866e-05/0.006839, allocations: 110.8 kB / 272.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.006871, allocations: 81.11 kB / 272.7 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.206e-05/0.006903, allocations: 89.86 kB / 272.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.006912, allocations: 29.64 kB / 272.8 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.006928, allocations: 80.14 kB / 272.9 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.006942, allocations: 3.953 kB / 272.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.006965, allocations: 17.72 kB / 272.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.00703, allocations: 318.8 kB / 273.2 MB, free: 304 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.007046, allocations: 33.69 kB / 273.3 MB, free: 264 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.007056, allocations: 29.83 kB / 273.3 MB, free: 228 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.007091, allocations: 60.27 kB / 273.3 MB, free: 152 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007093, allocations: 0 / 273.3 MB, free: 152 kB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.071e-05/0.007134, allocations: 85.09 kB / 273.4 MB, free: 48 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.007165, allocations: 33.7 kB / 273.5 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.007169, allocations: 0 / 273.5 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.007176, allocations: 3.938 kB / 273.5 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.596e-06/0.00718, allocations: 3.938 kB / 273.5 MB, free: 0 / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.007182, allocations: 0 / 273.5 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.007211, allocations: 4.047 kB / 273.5 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.007217, allocations: 8.031 kB / 273.5 MB, free: 15.98 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.061e-05/0.007268, allocations: 131.5 kB / 273.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-06/0.007273, allocations: 7.938 kB / 273.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-06/0.00728, allocations: 3 kB / 273.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007282, allocations: 4 kB / 273.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.007283, allocations: 0 / 273.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.007285, allocations: 0 / 273.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.884e-05/0.007324, allocations: 65.84 kB / 273.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.007324, allocations: 0 / 273.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.007325, allocations: 0 / 273.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.007329, allocations: 12 kB / 273.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.00733, allocations: 0 / 273.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.007335, allocations: 4 kB / 273.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.007335, allocations: 0 / 273.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.007337, allocations: 3.984 kB / 273.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.728e-05/0.007394, allocations: 112.4 kB / 273.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.007404, allocations: 3.984 kB / 273.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.14e-06/0.007409, allocations: 4 kB / 273.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-06/0.007416, allocations: 0 / 273.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.007417, allocations: 0 / 273.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.401e-06/0.007422, allocations: 8.891 kB / 273.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007422, allocations: 0 / 273.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.007691, allocations: 139.6 kB / 274 MB, free: 15.43 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.0005374/0.008228, allocations: 279.7 kB / 274.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.008314, allocations: 115.7 kB / 274.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.008317, allocations: 0 / 274.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.008342, allocations: 85.97 kB / 274.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.542e-05/0.008388, allocations: 16.05 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001275/0.008515, allocations: 111.9 kB / 274.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.334e-05/0.008539, allocations: 55.36 kB / 274.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.17e-06/0.008544, allocations: 0 / 274.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.008572, allocations: 55.38 kB / 274.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008573, allocations: 0 / 274.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of Templates: time 0.005056/0.01363, allocations: 4.498 MB / 279.2 MB, free: 10.12 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.919240454211831]