Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001832/0.001832, allocations: 108.5 kB / 21.23 MB, free: 0.6602 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.001966/0.001966, allocations: 187.4 kB / 24.51 MB, free: 4.031 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.597/1.597, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2447/0.2447, allocations: 44.91 MB / 353.5 MB, free: 11.92 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 67.89 kB / 497.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5077, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.005592/0.5133, allocations: 1.682 MB / 0.5505 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.5159, allocations: 0.8881 MB / 0.5514 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.5161, allocations: 1.531 kB / 0.5514 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005107/0.5166, allocations: 54 kB / 0.5514 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.517, allocations: 55.78 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.5176, allocations: 114.2 kB / 0.5516 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.518, allocations: 92.36 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.5181, allocations: 6.641 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.5183, allocations: 44.62 kB / 0.5517 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.5184, allocations: 24.3 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.5184, allocations: 3.875 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.5186, allocations: 31.98 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.5187, allocations: 30.72 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.5188, allocations: 35.94 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.5193, allocations: 120.5 kB / 0.552 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5193, allocations: 4 kB / 0.552 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5193, allocations: 0 / 0.552 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.5193, allocations: 0 / 0.552 GB, free: 10.75 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.001053/0.5203, allocations: 355.9 kB / 0.5523 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.5204, allocations: 10.11 kB / 0.5523 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.5205, allocations: 14.75 kB / 0.5523 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.521, allocations: 159.5 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.521, allocations: 9.484 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.521, allocations: 10.34 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.5212, allocations: 46.86 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5213, allocations: 1.125 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5213, allocations: 0 / 0.5526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.5213, allocations: 1.312 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.5214, allocations: 15.02 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.5216, allocations: 163.7 kB / 0.5527 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.5218, allocations: 57.33 kB / 0.5528 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.5219, allocations: 20.36 kB / 0.5528 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.5219, allocations: 0 / 0.5528 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.5221, allocations: 61.67 kB / 0.5529 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.5221, allocations: 3.938 kB / 0.5529 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003792/0.5225, allocations: 104.1 kB / 0.553 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.5226, allocations: 60.5 kB / 0.553 GB, free: 9.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.5229, allocations: 259.2 kB / 0.5533 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.5229, allocations: 25.7 kB / 0.5533 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.523, allocations: 111.3 kB / 0.5534 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.5231, allocations: 15.22 kB / 0.5534 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.5231, allocations: 18.12 kB / 0.5534 GB, free: 9.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5233, allocations: 327.3 kB / 0.5537 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.5233, allocations: 15.86 kB / 0.5538 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.5234, allocations: 31.39 kB / 0.5538 GB, free: 9.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5235, allocations: 43.53 kB / 0.5538 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.5235, allocations: 5.125 kB / 0.5538 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002075/0.5237, allocations: 88.64 kB / 0.5539 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.5238, allocations: 4.375 kB / 0.5539 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5238, allocations: 1.031 kB / 0.5539 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5238, allocations: 5.094 kB / 0.5539 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.5239, allocations: 16.5 kB / 0.5539 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5239, allocations: 1.125 kB / 0.5539 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.524, allocations: 6.141 kB / 0.554 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.524, allocations: 2.156 kB / 0.554 GB, free: 8.906 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.0001511/0.5241, allocations: 136.7 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.5241, allocations: 18.5 kB / 0.5541 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.5244, allocations: 93.52 kB / 0.5542 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5244, allocations: 4 kB / 0.5542 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5244, allocations: 1.094 kB / 0.5542 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-05/0.5244, allocations: 0 / 0.5542 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.5247, allocations: 169.8 kB / 0.5544 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5247, allocations: 0 / 0.5544 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.5247, allocations: 3.156 kB / 0.5544 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5247, allocations: 1.156 kB / 0.5544 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.5247, allocations: 12.98 kB / 0.5544 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5247, allocations: 3.984 kB / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5247, allocations: 1.25 kB / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.525, allocations: 114.7 kB / 0.5545 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.5251, allocations: 12.12 kB / 0.5545 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.5251, allocations: 5.219 kB / 0.5545 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.5251, allocations: 10.11 kB / 0.5545 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.5252, allocations: 9.078 kB / 0.5545 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.5252, allocations: 2.906 kB / 0.5545 GB, free: 8.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.5255, allocations: 195.2 kB / 0.5547 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5255, allocations: 4 kB / 0.5547 GB, free: 8.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.5258, allocations: 24.81 kB / 0.5547 GB, free: 8.23 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.001919/0.5277, allocations: 399.2 kB / 0.5551 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.528, allocations: 46.09 kB / 0.5552 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.528, allocations: 1.188 kB / 0.5552 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.5281, allocations: 17.34 kB / 0.5552 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.5284, allocations: 38.55 kB / 0.5552 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.5292, allocations: 260.8 kB / 0.5555 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.5296, allocations: 0.7207 MB / 0.5562 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.474e-05/0.5297, allocations: 12.86 kB / 0.5562 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.5298, allocations: 16.31 kB / 0.5562 GB, free: 7.059 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5298, allocations: 1.156 kB / 0.5562 GB, free: 7.059 MB / 398.1 MB Notification: Performance of Templates: time 0.00679/0.5366, allocations: 1.533 MB / 0.5577 GB, free: 6.215 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.804244815371931]