Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001381/0.001381, allocations: 123 kB / 17.79 MB, free: 5.246 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.002017/0.002017, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.622/1.622, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2748/0.2748, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 67.89 kB / 0.4915 GB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.184, allocations: 65.99 MB / 0.5559 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003759/0.1877, allocations: 1.834 MB / 0.5577 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.1899, allocations: 1.105 MB / 0.5588 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.19, allocations: 4 kB / 0.5588 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006054/0.1906, allocations: 311.2 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005489/0.1912, allocations: 259.2 kB / 0.5593 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1914, allocations: 103.7 kB / 0.5594 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.1918, allocations: 267.2 kB / 0.5597 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.309e-05/0.1919, allocations: 9.688 kB / 0.5597 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.1921, allocations: 139.5 kB / 0.5598 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.1924, allocations: 219.5 kB / 0.56 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.1925, allocations: 4 kB / 0.56 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1926, allocations: 47.92 kB / 0.5601 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.1928, allocations: 139.6 kB / 0.5602 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.1929, allocations: 146.8 kB / 0.5604 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.1935, allocations: 386.1 kB / 0.5607 GB, free: 284 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1935, allocations: 0 / 0.5607 GB, free: 284 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1935, allocations: 4 kB / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1935, allocations: 7.938 kB / 0.5607 GB, free: 272 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001286/0.1948, allocations: 0.7616 MB / 0.5615 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1949, allocations: 8.031 kB / 0.5615 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.195, allocations: 56.59 kB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.1957, allocations: 456.3 kB / 0.562 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1958, allocations: 384 / 0.562 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1958, allocations: 12.12 kB / 0.562 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.196, allocations: 87.3 kB / 0.5621 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.196, allocations: 0 / 0.5621 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.196, allocations: 0 / 0.5621 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1961, allocations: 4 kB / 0.5621 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.1962, allocations: 27.98 kB / 0.5621 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.1967, allocations: 382.3 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.197, allocations: 109.2 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1971, allocations: 41.64 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.1971, allocations: 0 / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.1973, allocations: 109 kB / 0.5627 GB, free: 14.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1973, allocations: 0 / 0.5627 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006806/0.198, allocations: 201.2 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.1981, allocations: 77.11 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.1994, allocations: 1.058 MB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1994, allocations: 29.7 kB / 0.564 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1996, allocations: 236.1 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.1997, allocations: 35.73 kB / 0.5643 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.1998, allocations: 25.7 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.2, allocations: 370.8 kB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.2001, allocations: 28.48 kB / 0.5647 GB, free: 11.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.2002, allocations: 67.34 kB / 0.5648 GB, free: 11.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.2004, allocations: 87.36 kB / 0.5649 GB, free: 11.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.2004, allocations: 4 kB / 0.5649 GB, free: 11.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003386/0.2007, allocations: 173.2 kB / 0.565 GB, free: 11.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2008, allocations: 12 kB / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2008, allocations: 4 kB / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2008, allocations: 0 / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2009, allocations: 23.98 kB / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.2009, allocations: 3.938 kB / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.201, allocations: 15.88 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.201, allocations: 4 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002763/0.2013, allocations: 223.9 kB / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.202e-05/0.2014, allocations: 63.62 kB / 0.5654 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.2015, allocations: 60.14 kB / 0.5654 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2015, allocations: 0 / 0.5654 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.2016, allocations: 0 / 0.5654 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2016, allocations: 0 / 0.5654 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.202, allocations: 349.4 kB / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.202, allocations: 0 / 0.5658 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.2021, allocations: 4 kB / 0.5658 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2021, allocations: 4.125 kB / 0.5658 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2021, allocations: 8 kB / 0.5658 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.2021, allocations: 3.938 kB / 0.5658 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2021, allocations: 8 kB / 0.5658 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.2025, allocations: 209.4 kB / 0.566 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.2027, allocations: 136.8 kB / 0.5661 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.2027, allocations: 4 kB / 0.5661 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.2028, allocations: 4 kB / 0.5661 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.2029, allocations: 11.98 kB / 0.5661 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.2029, allocations: 8 kB / 0.5661 GB, free: 10.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.2039, allocations: 0.7839 MB / 0.5669 GB, free: 9.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2039, allocations: 0 / 0.5669 GB, free: 9.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.2042, allocations: 47.92 kB / 0.5669 GB, free: 9.516 MB / 430.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001769/0.206, allocations: 427.4 kB / 0.5674 GB, free: 9.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.2063, allocations: 71.97 kB / 0.5674 GB, free: 9.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2063, allocations: 4.062 kB / 0.5674 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.2064, allocations: 39.91 kB / 0.5675 GB, free: 9.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.2069, allocations: 73.81 kB / 0.5675 GB, free: 9.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.2083, allocations: 0.8815 MB / 0.5684 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.2088, allocations: 0.8466 MB / 0.5692 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.209, allocations: 50.97 kB / 0.5693 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.209, allocations: 35.42 kB / 0.5693 GB, free: 7.203 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.209, allocations: 3.938 kB / 0.5693 GB, free: 7.199 MB / 430.1 MB Notification: Performance of Templates: time 0.009457/0.2185, allocations: 3.834 MB / 0.5731 GB, free: 3.383 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.5472094640135765]