Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.001012/0.001012, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001056/0.001056, allocations: 169.8 kB / 24.84 MB, free: 8.906 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 1.023/1.023, allocations: 158.6 MB / 186.7 MB, free: 2.828 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.1336/0.1336, allocations: 32.36 MB / 271.5 MB, free: 2.465 MB / 250.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.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 348.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.832e-05, allocations: 10.19 kB / 348.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002206/0.002234, allocations: 1.6 MB / 350.5 MB, free: 3.188 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004829/0.002717, allocations: 335.3 kB / 350.9 MB, free: 2.855 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.00277, allocations: 4 kB / 350.9 MB, free: 2.852 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.003036, allocations: 87.69 kB / 350.9 MB, free: 2.766 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.0032, allocations: 79.66 kB / 351 MB, free: 2.688 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.003386, allocations: 91.8 kB / 351.1 MB, free: 2.598 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.003519, allocations: 87.73 kB / 351.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.115e-05/0.0036, allocations: 4.188 kB / 351.2 MB, free: 2.508 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.003662, allocations: 47.89 kB / 351.2 MB, free: 2.461 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.003732, allocations: 59.86 kB / 351.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.003744, allocations: 4 kB / 351.3 MB, free: 2.398 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.75e-05/0.003801, allocations: 31.92 kB / 351.3 MB, free: 2.367 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.003831, allocations: 19.92 kB / 351.4 MB, free: 2.348 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.003848, allocations: 23.92 kB / 351.4 MB, free: 2.324 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.003963, allocations: 91.55 kB / 351.5 MB, free: 2.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003966, allocations: 4 kB / 351.5 MB, free: 2.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003967, allocations: 0 / 351.5 MB, free: 2.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.585e-06/0.003969, allocations: 0 / 351.5 MB, free: 2.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002841/0.004253, allocations: 447.9 kB / 351.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.004282, allocations: 8.031 kB / 351.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.004311, allocations: 16.84 kB / 351.9 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.004418, allocations: 152.4 kB / 352.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-06/0.004422, allocations: 384 / 352.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.004435, allocations: 12.38 kB / 352.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.385e-05/0.004519, allocations: 82.25 kB / 352.2 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-06/0.004523, allocations: 192 / 352.2 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-06/0.004528, allocations: 3.938 kB / 352.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-06/0.004531, allocations: 4 kB / 352.2 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.00455, allocations: 15.92 kB / 352.2 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.004772, allocations: 407.2 kB / 352.6 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.004878, allocations: 90.09 kB / 352.7 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.0049, allocations: 27.38 kB / 352.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.00491, allocations: 7.938 kB / 352.7 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.004924, allocations: 37.39 kB / 352.8 MB, free: 0.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 6.01e-07/0.004925, allocations: 0 / 352.8 MB, free: 0.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002271/0.005152, allocations: 141.4 kB / 352.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.005179, allocations: 77.11 kB / 353 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.005293, allocations: 241.8 kB / 353.2 MB, free: 308 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.005304, allocations: 29.7 kB / 353.2 MB, free: 272 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.005361, allocations: 154.8 kB / 353.4 MB, free: 112 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.005384, allocations: 39.67 kB / 353.4 MB, free: 72 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.005412, allocations: 31.38 kB / 353.5 MB, free: 32 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.1341/0.1395, allocations: 0.5003 MB / 354 MB, free: 64.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.1396, allocations: 13.14 kB / 354 MB, free: 64.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.1396, allocations: 27.52 kB / 354 MB, free: 64.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.114e-05/0.1397, allocations: 45.91 kB / 354 MB, free: 64.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1397, allocations: 2.656 kB / 354 MB, free: 64.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001356/0.1398, allocations: 77.67 kB / 354.1 MB, free: 64.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1398, allocations: 5.688 kB / 354.1 MB, free: 64.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.1398, allocations: 0.625 kB / 354.1 MB, free: 64.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1399, allocations: 1.969 kB / 354.1 MB, free: 64.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.14, allocations: 23.42 kB / 354.2 MB, free: 64.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.14, allocations: 4.188 kB / 354.2 MB, free: 64.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.14, allocations: 9.453 kB / 354.2 MB, free: 64.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.14, allocations: 8.219 kB / 354.2 MB, free: 64.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.441e-05/0.1401, allocations: 158.9 kB / 354.3 MB, free: 64.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.1401, allocations: 16.69 kB / 354.3 MB, free: 64.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.1403, allocations: 99.47 kB / 354.4 MB, free: 64.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1403, allocations: 6.25 kB / 354.5 MB, free: 64.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1403, allocations: 0 / 354.5 MB, free: 64.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1403, allocations: 1.188 kB / 354.5 MB, free: 64.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.1407, allocations: 476.9 kB / 354.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1407, allocations: 2.406 kB / 354.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.1407, allocations: 17.97 kB / 354.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1407, allocations: 7.438 kB / 354.9 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1408, allocations: 8.219 kB / 355 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1408, allocations: 1.609 kB / 355 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1408, allocations: 1.125 kB / 355 MB, free: 64.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.1409, allocations: 361.8 kB / 355.3 MB, free: 63.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.141, allocations: 12.61 kB / 355.3 MB, free: 63.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.141, allocations: 8.172 kB / 355.3 MB, free: 63.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.141, allocations: 7.984 kB / 355.3 MB, free: 63.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1411, allocations: 8.609 kB / 355.3 MB, free: 63.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1411, allocations: 4.844 kB / 355.4 MB, free: 63.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.765e-05/0.1411, allocations: 164.5 kB / 355.5 MB, free: 63.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1411, allocations: 3.969 kB / 355.5 MB, free: 63.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.1414, allocations: 23.98 kB / 355.5 MB, free: 63.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0008298/0.1422, allocations: 375 kB / 355.9 MB, free: 63.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1423, allocations: 51.33 kB / 356 MB, free: 63.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1423, allocations: 0 / 356 MB, free: 63.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.1424, allocations: 32.23 kB / 356 MB, free: 63.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1426, allocations: 20.81 kB / 356 MB, free: 63.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.143, allocations: 254.8 kB / 356.3 MB, free: 63.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.1431, allocations: 71.7 kB / 356.3 MB, free: 63.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.202e-05/0.1431, allocations: 16.52 kB / 356.3 MB, free: 63.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.1432, allocations: 81.75 kB / 356.4 MB, free: 63.39 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1432, allocations: 0.6875 kB / 356.4 MB, free: 63.39 MB / 330.7 MB Notification: Performance of Templates: time 0.003712/0.1469, allocations: 1.471 MB / 357.9 MB, free: 63.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.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.2074928977526724]