Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001371/0.001371, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001523/0.001523, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.529/1.529, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.2205/0.2205, allocations: 34.28 MB / 295 MB, free: 14.56 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.627e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003745/0.003781, allocations: 1.72 MB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.005943, allocations: 0.9735 MB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.006057, allocations: 3.938 kB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.00637, allocations: 39.81 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.00678, allocations: 91.5 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.007073, allocations: 83.53 kB / 445.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.007309, allocations: 111.6 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.007402, allocations: 4 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.007542, allocations: 55.83 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.491e-05/0.007637, allocations: 27.91 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.007659, allocations: 4 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.007786, allocations: 43.98 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.007854, allocations: 19.92 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.007909, allocations: 23.86 kB / 446 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.008186, allocations: 119.5 kB / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.00819, allocations: 0 / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.008191, allocations: 0 / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.008196, allocations: 0 / 446.1 MB, free: 1.977 MB / 366.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.0006174/0.008813, allocations: 337.6 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.008855, allocations: 12.03 kB / 446.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.008914, allocations: 12.88 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.009193, allocations: 158.9 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.009208, allocations: 384 / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.009231, allocations: 8.312 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.009405, allocations: 58.17 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.009419, allocations: 3.938 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.00943, allocations: 0 / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.009435, allocations: 0 / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.00952, allocations: 19.98 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.009955, allocations: 228.6 kB / 446.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.01016, allocations: 62.61 kB / 447 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.01023, allocations: 20.8 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.01026, allocations: 7.984 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.01043, allocations: 63.39 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.01043, allocations: 0 / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006774/0.01111, allocations: 185.3 kB / 447.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.01116, allocations: 51.41 kB / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.01137, allocations: 191.2 kB / 447.5 MB, free: 452 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.0114, allocations: 33.7 kB / 447.5 MB, free: 412 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.01149, allocations: 104.1 kB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.01153, allocations: 27.78 kB / 447.6 MB, free: 276 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.01158, allocations: 29.7 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2048/0.2163, allocations: 315.4 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2165, allocations: 20.94 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.2166, allocations: 42.59 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.2167, allocations: 60.02 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2167, allocations: 1.281 kB / 448.1 MB, free: 19.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002221/0.2169, allocations: 103.9 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2169, allocations: 6.125 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2169, allocations: 1.25 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.2169, allocations: 1.031 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.2171, allocations: 27.66 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2171, allocations: 3.75 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.2171, allocations: 3.938 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.2171, allocations: 6.219 kB / 448.2 MB, free: 19.02 MB / 366.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 8.629e-05/0.2172, allocations: 119.8 kB / 448.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.2172, allocations: 10.19 kB / 448.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.2175, allocations: 122.3 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2175, allocations: 1.562 kB / 448.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2175, allocations: 5.062 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2175, allocations: 4.453 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.218, allocations: 343.4 kB / 448.8 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.218, allocations: 4.5 kB / 448.8 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.218, allocations: 13.5 kB / 448.8 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.218, allocations: 1.312 kB / 448.8 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.218, allocations: 5.906 kB / 448.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.218, allocations: 1.188 kB / 448.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.218, allocations: 0.75 kB / 448.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.2183, allocations: 216.1 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.2183, allocations: 12.41 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.2183, allocations: 9.406 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.2184, allocations: 5.172 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.2184, allocations: 9.219 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2185, allocations: 10.73 kB / 449.1 MB, free: 18.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.2186, allocations: 139.2 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2186, allocations: 0 / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.2189, allocations: 25.91 kB / 449.3 MB, free: 18.41 MB / 366.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 (9): * Single equations (assignments): 7 * 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.001895/0.2208, allocations: 496 kB / 449.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.221, allocations: 64.98 kB / 449.8 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.221, allocations: 3.938 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.2211, allocations: 32.8 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2215, allocations: 26.28 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.2221, allocations: 229.1 kB / 450.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.2222, allocations: 92.69 kB / 450.2 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.169e-05/0.2223, allocations: 21.77 kB / 450.2 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.2223, allocations: 18.47 kB / 450.2 MB, free: 17.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2223, allocations: 0 / 450.2 MB, free: 17.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005706/0.228, allocations: 1.84 MB / 452.1 MB, free: 17.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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: 4.96530182287097]