Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001893/0.001893, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002098/0.002098, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.586/1.586, 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.2627/0.2627, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 67.89 kB / 0.4915 GB, free: 7.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1913, allocations: 66 MB / 0.5559 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.005721/0.197, allocations: 1.733 MB / 0.5576 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.2003, allocations: 1.034 MB / 0.5587 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.2004, allocations: 0 / 0.5587 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.2009, allocations: 51.75 kB / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.2014, allocations: 99.53 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.2017, allocations: 67.75 kB / 0.5589 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.202, allocations: 111.6 kB / 0.559 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2021, allocations: 11.98 kB / 0.559 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2023, allocations: 39.8 kB / 0.559 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.2024, allocations: 39.83 kB / 0.5591 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.2024, allocations: 4 kB / 0.5591 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2026, allocations: 51.92 kB / 0.5591 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.2027, allocations: 23.86 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.2028, allocations: 35.73 kB / 0.5592 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.2031, allocations: 119.5 kB / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2031, allocations: 0 / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2031, allocations: 0 / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.2031, allocations: 0 / 0.5593 GB, free: 1.809 MB / 414.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.0008774/0.204, allocations: 430.6 kB / 0.5597 GB, free: 1.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.2041, allocations: 8.031 kB / 0.5597 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.448e-05/0.2041, allocations: 20.88 kB / 0.5597 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.2045, allocations: 216.1 kB / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2046, allocations: 384 / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.2046, allocations: 8.125 kB / 0.5599 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.2048, allocations: 53.67 kB / 0.56 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2048, allocations: 0 / 0.56 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2049, allocations: 0 / 0.56 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2049, allocations: 0 / 0.56 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.205, allocations: 19.98 kB / 0.56 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.2056, allocations: 300.8 kB / 0.5603 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.2059, allocations: 54.67 kB / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.206, allocations: 20.8 kB / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.206, allocations: 0 / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.2063, allocations: 83.31 kB / 0.5604 GB, free: 464 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.2063, allocations: 0 / 0.5604 GB, free: 464 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000831/0.2071, allocations: 169.4 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.2072, allocations: 55.34 kB / 0.5607 GB, free: 220 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.2075, allocations: 214.1 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.2075, allocations: 29.7 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2077, allocations: 104.1 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.2077, allocations: 19.86 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.2078, allocations: 29.7 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.208, allocations: 326.8 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.2081, allocations: 20 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2082, allocations: 33.7 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.2084, allocations: 65.62 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2084, allocations: 4 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003215/0.2087, allocations: 105.6 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2087, allocations: 8 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2087, allocations: 0 / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2088, allocations: 3.938 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2089, allocations: 15.94 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2089, allocations: 4 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.209, allocations: 7.922 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.209, allocations: 8 kB / 0.5616 GB, free: 15.18 MB / 430.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.0001713/0.2092, allocations: 128 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.2092, allocations: 15.91 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.2093, allocations: 17.39 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2093, allocations: 4 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2093, allocations: 0 / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.2093, allocations: 3.938 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.21, allocations: 399.3 kB / 0.5621 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.21, allocations: 4.031 kB / 0.5622 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.2101, allocations: 8 kB / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2101, allocations: 0 / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.2101, allocations: 7.938 kB / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2101, allocations: 0 / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2101, allocations: 4.125 kB / 0.5622 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.2105, allocations: 200.3 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.2106, allocations: 96.98 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.2106, allocations: 4.312 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.2108, allocations: 4 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.2108, allocations: 11.98 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.2109, allocations: 8 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.2111, allocations: 156.3 kB / 0.5626 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2111, allocations: 0 / 0.5626 GB, free: 14.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.2116, allocations: 23.94 kB / 0.5627 GB, free: 14 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: 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.00267/0.2143, allocations: 469.8 kB / 0.5631 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.2146, allocations: 55.97 kB / 0.5632 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2146, allocations: 0 / 0.5632 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2147, allocations: 31.98 kB / 0.5632 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.2153, allocations: 32.28 kB / 0.5632 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.2161, allocations: 238.7 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.2166, allocations: 0.7119 MB / 0.5641 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.899e-05/0.2167, allocations: 12.95 kB / 0.5642 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.2168, allocations: 19.42 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2168, allocations: 0 / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of Templates: time 0.008257/0.2251, allocations: 1.751 MB / 0.5659 GB, free: 10.83 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.59948194026947]