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.001126/0.001126, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.0009755/0.0009755, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 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.8817/0.8817, allocations: 158.6 MB / 185.7 MB, free: 2.523 MB / 170.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.1525/0.1525, allocations: 32.37 MB / 270.4 MB, free: 14.67 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.312e-06/1.312e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.486e-05, allocations: 8.281 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0007677/0.0007826, allocations: 0.5158 MB / 348.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.002398, allocations: 1.957 MB / 350.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.002413, allocations: 0 / 350.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.002428, allocations: 0 / 350.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.002434, allocations: 0 / 350.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.003748, allocations: 0.782 MB / 350.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.066e-05/0.003789, allocations: 7.984 kB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.745e-05/0.003816, allocations: 0 / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.411e-05/0.00384, allocations: 0 / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.566e-05/0.003856, allocations: 0 / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.003862, allocations: 0 / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006669/0.004529, allocations: 0.7172 MB / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.004537, allocations: 0 / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.004554, allocations: 0 / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.005012, allocations: 0.6663 MB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005014, allocations: 8 kB / 352.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005015, allocations: 0 / 352.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.005018, allocations: 0 / 352.3 MB, free: 4.793 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.0002654/0.005284, allocations: 425.4 kB / 352.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.005317, allocations: 20.02 kB / 352.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.005349, allocations: 4.938 kB / 352.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.266e-05/0.005382, allocations: 104.6 kB / 352.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.005391, allocations: 4.312 kB / 352.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.0054, allocations: 4.375 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.774e-05/0.005468, allocations: 51.97 kB / 352.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.005476, allocations: 192 / 352.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.005483, allocations: 4.359 kB / 352.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.00549, allocations: 7.938 kB / 352.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.187e-05/0.005502, allocations: 25.7 kB / 352.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.799e-05/0.00556, allocations: 112.6 kB / 353 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.014e-05/0.00559, allocations: 60.73 kB / 353.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.19e-05/0.005602, allocations: 33.39 kB / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-06/0.005606, allocations: 4.062 kB / 353.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.005628, allocations: 59.09 kB / 353.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.005629, allocations: 0 / 353.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.005751, allocations: 114.8 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.005772, allocations: 85.05 kB / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.973e-05/0.005792, allocations: 146.2 kB / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-06/0.005795, allocations: 25.7 kB / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.098e-05/0.005806, allocations: 131 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.00582, allocations: 4.297 kB / 353.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.005836, allocations: 23.31 kB / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.005876, allocations: 496.1 kB / 354.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.005887, allocations: 25.7 kB / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-06/0.005893, allocations: 25.7 kB / 354.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.005919, allocations: 67.09 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005921, allocations: 0 / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.374e-05/0.005954, allocations: 89.09 kB / 354.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.005972, allocations: 37.8 kB / 354.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.005976, allocations: 0 / 354.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.00599, allocations: 0 / 354.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.357e-06/0.005993, allocations: 0 / 354.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.005999, allocations: 11.81 kB / 354.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-06/0.006007, allocations: 0 / 354.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.006013, allocations: 0 / 354.5 MB, free: 2.332 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 3.907e-05/0.006052, allocations: 190.3 kB / 354.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-06/0.006056, allocations: 4 kB / 354.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-06/0.006065, allocations: 3 kB / 354.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-07/0.006066, allocations: 0 / 354.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006069, allocations: 4 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006072, allocations: 3.938 kB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.121e-05/0.006103, allocations: 104.6 kB / 354.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006104, allocations: 4 kB / 354.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-07/0.006104, allocations: 0 / 354.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.006105, allocations: 4 kB / 354.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.006111, allocations: 0 / 354.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006112, allocations: 3.984 kB / 354.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006112, allocations: 0 / 354.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.914e-05/0.006161, allocations: 127.8 kB / 354.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-06/0.006165, allocations: 15.95 kB / 354.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.006176, allocations: 0 / 354.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-06/0.00618, allocations: 0 / 354.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.00619, allocations: 0 / 354.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.006193, allocations: 4 kB / 354.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.284e-05/0.006205, allocations: 123.1 kB / 355 MB, free: 1.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006205, allocations: 0 / 355 MB, free: 1.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.006445, allocations: 131.7 kB / 355.2 MB, free: 1.535 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.0004337/0.006879, allocations: 291.2 kB / 355.4 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.832e-05/0.006947, allocations: 122.5 kB / 355.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006948, allocations: 0 / 355.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.006964, allocations: 88.8 kB / 355.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.375e-05/0.007048, allocations: 1.875 kB / 355.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001324/0.00718, allocations: 121.6 kB / 355.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.76e-05/0.007198, allocations: 55.36 kB / 355.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.11e-06/0.007203, allocations: 0 / 355.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-06/0.007213, allocations: 8.5 kB / 355.8 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007213, allocations: 4.125 kB / 355.8 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of Templates: time 0.004812/0.01203, allocations: 3.969 MB / 359.8 MB, free: 12.78 MB / 298.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 -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: 3.1878447560593486]