Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 108.4 kB / 21.1 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 195.6 kB / 24.37 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 253.1 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2288/0.2288, allocations: 44.91 MB / 353.2 MB, free: 11.87 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 497.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3611, allocations: 64.29 MB / 0.5485 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003209/0.3643, allocations: 1.686 MB / 0.5501 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.366, allocations: 0.8869 MB / 0.551 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.366, allocations: 4 kB / 0.551 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.3664, allocations: 49.95 kB / 0.551 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.3666, allocations: 57.38 kB / 0.5511 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.3669, allocations: 110 kB / 0.5512 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.3671, allocations: 100.2 kB / 0.5513 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.3672, allocations: 2.312 kB / 0.5513 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3673, allocations: 43.97 kB / 0.5513 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.3674, allocations: 30.34 kB / 0.5514 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.3674, allocations: 2.531 kB / 0.5514 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.3675, allocations: 27.58 kB / 0.5514 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.3675, allocations: 30.8 kB / 0.5514 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.3676, allocations: 40.02 kB / 0.5515 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3678, allocations: 118.8 kB / 0.5516 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3678, allocations: 1.406 kB / 0.5516 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3678, allocations: 4 kB / 0.5516 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3678, allocations: 0 / 0.5516 GB, free: 10.72 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005807/0.3684, allocations: 355.8 kB / 0.5519 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3684, allocations: 11.17 kB / 0.5519 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.3685, allocations: 10.67 kB / 0.552 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.3688, allocations: 154.8 kB / 0.5521 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3688, allocations: 6.375 kB / 0.5521 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3688, allocations: 5.219 kB / 0.5521 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.369, allocations: 55.45 kB / 0.5522 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.369, allocations: 0 / 0.5522 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.369, allocations: 1.062 kB / 0.5522 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.369, allocations: 3.938 kB / 0.5522 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.369, allocations: 13.12 kB / 0.5522 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.3692, allocations: 162.9 kB / 0.5523 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3694, allocations: 53.31 kB / 0.5524 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.3695, allocations: 27.94 kB / 0.5524 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3695, allocations: 1.125 kB / 0.5524 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.3697, allocations: 60.2 kB / 0.5525 GB, free: 9.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3697, allocations: 0 / 0.5525 GB, free: 9.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003079/0.37, allocations: 101.1 kB / 0.5526 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.3701, allocations: 60.58 kB / 0.5526 GB, free: 9.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.3703, allocations: 258.4 kB / 0.5529 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3703, allocations: 31.08 kB / 0.5529 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.3704, allocations: 111.1 kB / 0.553 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.3705, allocations: 22.27 kB / 0.553 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.3705, allocations: 18.38 kB / 0.553 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3707, allocations: 327.8 kB / 0.5534 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.3707, allocations: 15.8 kB / 0.5534 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.3708, allocations: 31.77 kB / 0.5534 GB, free: 8.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3709, allocations: 39.91 kB / 0.5534 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3709, allocations: 0 / 0.5534 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001782/0.3711, allocations: 96.14 kB / 0.5535 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3711, allocations: 5.5 kB / 0.5535 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3711, allocations: 1.125 kB / 0.5535 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3711, allocations: 0 / 0.5535 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.3712, allocations: 13.94 kB / 0.5536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3712, allocations: 3.938 kB / 0.5536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.3713, allocations: 7.188 kB / 0.5536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3713, allocations: 2.188 kB / 0.5536 GB, free: 8.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001385/0.3714, allocations: 143.2 kB / 0.5537 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.3715, allocations: 14.28 kB / 0.5537 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3717, allocations: 97.19 kB / 0.5538 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3717, allocations: 0.7188 kB / 0.5538 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3717, allocations: 1.094 kB / 0.5538 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3717, allocations: 4 kB / 0.5538 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.3719, allocations: 165.5 kB / 0.554 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3719, allocations: 1.25 kB / 0.554 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.3719, allocations: 10.31 kB / 0.554 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3719, allocations: 1.25 kB / 0.554 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3719, allocations: 5.25 kB / 0.554 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3719, allocations: 3.984 kB / 0.554 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3719, allocations: 0 / 0.554 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.3721, allocations: 111.6 kB / 0.5541 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.3722, allocations: 16.36 kB / 0.5541 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3722, allocations: 5.5 kB / 0.5541 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-05/0.3722, allocations: 1.5 kB / 0.5541 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3723, allocations: 5.406 kB / 0.5541 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3723, allocations: 6.109 kB / 0.5541 GB, free: 8.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.3725, allocations: 199.3 kB / 0.5543 GB, free: 8.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3725, allocations: 0 / 0.5543 GB, free: 8.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.3728, allocations: 18.06 kB / 0.5543 GB, free: 8.219 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00144/0.3742, allocations: 415.6 kB / 0.5547 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.3744, allocations: 43.28 kB / 0.5548 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3744, allocations: 0 / 0.5548 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.3745, allocations: 18.34 kB / 0.5548 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3748, allocations: 33.81 kB / 0.5548 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.3753, allocations: 260.5 kB / 0.5551 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3756, allocations: 0.7166 MB / 0.5558 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.748e-05/0.3757, allocations: 13.08 kB / 0.5558 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3757, allocations: 17.03 kB / 0.5558 GB, free: 7.035 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3757, allocations: 0 / 0.5558 GB, free: 7.035 MB / 398.1 MB Notification: Performance of Templates: time 0.004508/0.3802, allocations: 1.545 MB / 0.5573 GB, free: 6.227 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.977450681850314]