Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.00172/0.00172, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001487/0.001487, allocations: 209.4 kB / 23.74 MB, free: 4.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.612/1.612, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2679/0.2679, allocations: 46.93 MB / 360.8 MB, free: 4.32 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 59.89 kB / 0.4967 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.501, allocations: 66.03 MB / 0.5612 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003631/0.5046, allocations: 1.753 MB / 0.5629 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.5066, allocations: 1.042 MB / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.631e-05/0.5067, allocations: 3.938 kB / 0.5639 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.507, allocations: 51.75 kB / 0.564 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.5074, allocations: 95.59 kB / 0.5641 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.5076, allocations: 79.62 kB / 0.5641 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.5078, allocations: 99.75 kB / 0.5642 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.508, allocations: 7.984 kB / 0.5642 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.5081, allocations: 51.72 kB / 0.5643 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.5082, allocations: 35.8 kB / 0.5643 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.5082, allocations: 4 kB / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.5083, allocations: 43.97 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.5084, allocations: 19.92 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.5085, allocations: 35.73 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.5087, allocations: 130.1 kB / 0.5645 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5087, allocations: 0 / 0.5645 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5087, allocations: 0 / 0.5645 GB, free: 1.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.5087, allocations: 0 / 0.5645 GB, free: 1.125 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000668/0.5094, allocations: 353.5 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5095, allocations: 8.031 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.5095, allocations: 8.891 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.5098, allocations: 155 kB / 0.565 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5098, allocations: 4.375 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.5099, allocations: 4.125 kB / 0.5651 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.51, allocations: 57.61 kB / 0.5651 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5101, allocations: 4 kB / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5101, allocations: 0 / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5101, allocations: 0 / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.5102, allocations: 19.98 kB / 0.5651 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.5106, allocations: 259.9 kB / 0.5654 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.5108, allocations: 58.55 kB / 0.5654 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.5108, allocations: 20.91 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.5109, allocations: 4 kB / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.5111, allocations: 75.45 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5111, allocations: 0 / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005966/0.5117, allocations: 173.3 kB / 0.5657 GB, free: 15.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.5117, allocations: 55.41 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.512, allocations: 194.3 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.512, allocations: 29.7 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.5121, allocations: 108.1 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.5121, allocations: 23.8 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.5121, allocations: 29.7 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5123, allocations: 330.7 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.5124, allocations: 20 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.5124, allocations: 41.64 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.5126, allocations: 53.7 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5126, allocations: 0 / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.5128, allocations: 109.4 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5128, allocations: 8 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5128, allocations: 3.984 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5128, allocations: 0 / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5129, allocations: 16 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5129, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.513, allocations: 3.938 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.513, allocations: 4 kB / 0.5667 GB, free: 14.74 MB / 414.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 (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 0.0001249/0.5131, allocations: 136.8 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.5131, allocations: 15.91 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.5134, allocations: 115.2 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5134, allocations: 0 / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5134, allocations: 0 / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5134, allocations: 3.938 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.5139, allocations: 366.4 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5139, allocations: 4 kB / 0.5673 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.5139, allocations: 8.031 kB / 0.5673 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5139, allocations: 4 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.5139, allocations: 3.938 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5139, allocations: 0 / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5139, allocations: 4 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.5142, allocations: 204.2 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.5142, allocations: 19.92 kB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.5143, allocations: 4.312 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.5143, allocations: 0 / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.5144, allocations: 15.92 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.5144, allocations: 8 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.5145, allocations: 152.2 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5145, allocations: 0 / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.5148, allocations: 23.94 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001786/0.5166, allocations: 461.2 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.5168, allocations: 55.95 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5168, allocations: 0 / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.751e-05/0.5169, allocations: 35.98 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.5172, allocations: 21.98 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.5177, allocations: 238.6 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.518, allocations: 0.7041 MB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.5181, allocations: 21.02 kB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.5181, allocations: 15.44 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5181, allocations: 3.938 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Templates: time 0.005572/0.5237, allocations: 1.774 MB / 0.571 GB, free: 10.41 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.946734711993486]