Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001451/0.001451, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001604/0.001604, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.547/1.547, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3926/0.3926, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.847e-05/4.068e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003977/0.004018, allocations: 1.723 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.006162, allocations: 1.001 MB / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.006257, allocations: 0 / 380.1 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.006665, allocations: 43.64 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.007077, allocations: 95.53 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.007337, allocations: 75.61 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.007572, allocations: 111.6 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.007691, allocations: 15.92 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.007821, allocations: 63.77 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.007923, allocations: 35.89 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.007951, allocations: 8 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.008165, allocations: 103.9 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.008237, allocations: 19.91 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.008307, allocations: 23.88 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.008702, allocations: 183.4 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.008706, allocations: 0 / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.008708, allocations: 0 / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.008714, allocations: 0 / 380.9 MB, free: 15.38 MB / 362.7 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.0008215/0.009536, allocations: 365.3 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.009587, allocations: 16.03 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.063e-05/0.009668, allocations: 8.891 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.01005, allocations: 145.6 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.01007, allocations: 8.375 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.01011, allocations: 8.328 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.01035, allocations: 97.64 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.01036, allocations: 3.938 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.01038, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.01038, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.01048, allocations: 27.92 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.01089, allocations: 216.6 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.0111, allocations: 66.61 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.0112, allocations: 24.97 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.01122, allocations: 7.875 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.01141, allocations: 79.36 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.01141, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007141/0.01212, allocations: 209.4 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.0122, allocations: 77.11 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.01244, allocations: 179.1 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.01248, allocations: 37.69 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.01256, allocations: 92.14 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.0126, allocations: 27.8 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.01265, allocations: 29.66 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.01284, allocations: 330.8 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.01292, allocations: 31.92 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.01304, allocations: 80.25 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.01322, allocations: 73.7 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.01322, allocations: 4.031 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002628/0.01349, allocations: 133.5 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.01351, allocations: 5.875 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01351, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.01354, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.01367, allocations: 27.92 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.01368, allocations: 4 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.01373, allocations: 4 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.01375, allocations: 7.938 kB / 383.2 MB, free: 12.78 MB / 362.7 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 (13): * Single equations (assignments): 13 * 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.000149/0.0139, allocations: 137.7 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.01394, allocations: 19.89 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.01427, allocations: 130.5 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.01428, allocations: 7.938 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01429, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.01429, allocations: 3.984 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.0149, allocations: 362.9 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01491, allocations: 0 / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.01498, allocations: 23.92 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01498, allocations: 4.031 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.015, allocations: 4 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.015, allocations: 0 / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.015, allocations: 0 / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.01535, allocations: 236.2 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.01537, allocations: 11.95 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.0154, allocations: 4 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.01549, allocations: 7.984 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.01554, allocations: 11.92 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.01556, allocations: 4 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.0157, allocations: 138.2 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0157, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.01606, allocations: 55.86 kB / 384.4 MB, free: 11.57 MB / 362.7 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 (11): * Single equations (assignments): 9 * 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.002645/0.01871, allocations: 0.5835 MB / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.01898, allocations: 87.78 kB / 385 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01898, allocations: 0 / 385 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.01907, allocations: 43.84 kB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.01946, allocations: 35.88 kB / 385.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.02005, allocations: 229.5 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.02044, allocations: 89.56 kB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.726e-05/0.02052, allocations: 20.62 kB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.02058, allocations: 24.48 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02058, allocations: 0 / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.007054/0.02764, allocations: 2.681 MB / 388.2 MB, free: 8.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.086921520065516]