Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001413/0.001413, allocations: 105.5 kB / 19.81 MB, free: 2.516 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.001677/0.001677, allocations: 189.5 kB / 22.97 MB, free: 5.617 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.519/1.519, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.239/0.239, allocations: 44.92 MB / 351.6 MB, free: 12.26 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 495.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4073, allocations: 64.25 MB / 0.5464 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003422/0.4107, allocations: 1.615 MB / 0.548 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.4125, allocations: 1.102 MB / 0.5491 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.4126, allocations: 1.062 kB / 0.5491 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.4128, allocations: 24.41 kB / 0.5491 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.4131, allocations: 51.95 kB / 0.5491 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.4134, allocations: 109.5 kB / 0.5492 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.4136, allocations: 67.39 kB / 0.5493 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.4137, allocations: 24.81 kB / 0.5493 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.606e-05/0.4138, allocations: 26.59 kB / 0.5493 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.4139, allocations: 29.33 kB / 0.5494 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.414, allocations: 4.594 kB / 0.5494 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.4141, allocations: 49.88 kB / 0.5494 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.4141, allocations: 24.61 kB / 0.5494 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.4142, allocations: 21.78 kB / 0.5495 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.4144, allocations: 106.2 kB / 0.5496 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4144, allocations: 0 / 0.5496 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4144, allocations: 1.219 kB / 0.5496 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.4144, allocations: 0 / 0.5496 GB, free: 10.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005544/0.415, allocations: 390.4 kB / 0.5499 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.415, allocations: 9.562 kB / 0.55 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.4151, allocations: 13.23 kB / 0.55 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.4153, allocations: 192.8 kB / 0.5501 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.4153, allocations: 5.781 kB / 0.5502 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.4153, allocations: 8.547 kB / 0.5502 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.4155, allocations: 78.7 kB / 0.5502 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.4155, allocations: 0 / 0.5502 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4156, allocations: 1.375 kB / 0.5502 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4156, allocations: 0 / 0.5502 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.4157, allocations: 40.78 kB / 0.5503 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.4162, allocations: 312.8 kB / 0.5506 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.4163, allocations: 55.58 kB / 0.5506 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.4164, allocations: 18.27 kB / 0.5506 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.4164, allocations: 1.469 kB / 0.5506 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.4164, allocations: 38.55 kB / 0.5507 GB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4164, allocations: 1.531 kB / 0.5507 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006447/0.4171, allocations: 186.9 kB / 0.5509 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.4171, allocations: 78.67 kB / 0.5509 GB, free: 9.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4173, allocations: 138.9 kB / 0.5511 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.4173, allocations: 31.02 kB / 0.5511 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.4174, allocations: 98.86 kB / 0.5512 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.4174, allocations: 26.47 kB / 0.5512 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.4175, allocations: 25.17 kB / 0.5512 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4176, allocations: 321.4 kB / 0.5516 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.4177, allocations: 31.84 kB / 0.5516 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.184e-05/0.4178, allocations: 47.64 kB / 0.5516 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.4179, allocations: 72.86 kB / 0.5517 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4179, allocations: 1.125 kB / 0.5517 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000225/0.4182, allocations: 106.9 kB / 0.5518 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4182, allocations: 5.344 kB / 0.5518 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4182, allocations: 0 / 0.5518 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4182, allocations: 1.062 kB / 0.5518 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.4183, allocations: 21.02 kB / 0.5518 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4183, allocations: 5.125 kB / 0.5518 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.4184, allocations: 11.7 kB / 0.5518 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4184, allocations: 2.938 kB / 0.5518 GB, free: 8.793 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001014/0.4185, allocations: 122.6 kB / 0.552 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.4185, allocations: 7.234 kB / 0.552 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.4188, allocations: 127.7 kB / 0.5521 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4188, allocations: 1.469 kB / 0.5521 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4188, allocations: 3.938 kB / 0.5521 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4188, allocations: 4 kB / 0.5521 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.4194, allocations: 399.2 kB / 0.5525 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4194, allocations: 0 / 0.5525 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.4194, allocations: 21.98 kB / 0.5525 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4194, allocations: 3.938 kB / 0.5525 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.4195, allocations: 1.469 kB / 0.5525 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4195, allocations: 1.469 kB / 0.5525 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4195, allocations: 0 / 0.5525 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.4198, allocations: 214.6 kB / 0.5527 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.4198, allocations: 86.59 kB / 0.5528 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.4198, allocations: 1.375 kB / 0.5528 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.4199, allocations: 2.781 kB / 0.5528 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.4199, allocations: 12.14 kB / 0.5528 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.42, allocations: 1.125 kB / 0.5528 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.4201, allocations: 116.8 kB / 0.5529 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4201, allocations: 0 / 0.5529 GB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.4203, allocations: 26.25 kB / 0.5529 GB, free: 7.793 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001609/0.4219, allocations: 453.6 kB / 0.5534 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.4222, allocations: 78.59 kB / 0.5535 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4222, allocations: 0 / 0.5535 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.4223, allocations: 38.31 kB / 0.5535 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4227, allocations: 19 kB / 0.5535 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.4231, allocations: 201.2 kB / 0.5537 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.4235, allocations: 0.7003 MB / 0.5544 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.723e-05/0.4236, allocations: 20.48 kB / 0.5544 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.4237, allocations: 22.2 kB / 0.5544 GB, free: 6.605 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4237, allocations: 1.125 kB / 0.5544 GB, free: 6.605 MB / 398.1 MB Notification: Performance of Templates: time 0.00509/0.4288, allocations: 1.48 MB / 0.5559 GB, free: 5.848 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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: 5.426893197000027]