Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00134/0.00134, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001509/0.001509, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.443/1.443, allocations: 177.2 MB / 204.9 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2006/0.2006, allocations: 32.8 MB / 294.1 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 63.91 kB / 440.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 65.45 MB / 0.4942 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003456/0.3244, allocations: 1.724 MB / 0.4959 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3262, allocations: 0.99 MB / 0.4969 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.3263, allocations: 0 / 0.4969 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.3266, allocations: 43.77 kB / 0.4969 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.3269, allocations: 87.56 kB / 0.497 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.3271, allocations: 83.66 kB / 0.4971 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3274, allocations: 111.7 kB / 0.4972 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.3275, allocations: 11.98 kB / 0.4972 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.683e-05/0.3276, allocations: 47.72 kB / 0.4972 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3277, allocations: 43.83 kB / 0.4973 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3277, allocations: 4 kB / 0.4973 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.3279, allocations: 111.9 kB / 0.4974 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.328, allocations: 19.92 kB / 0.4974 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.328, allocations: 31.8 kB / 0.4974 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.3285, allocations: 181.7 kB / 0.4976 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3285, allocations: 0 / 0.4976 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3285, allocations: 4 kB / 0.4976 GB, free: 1.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3285, allocations: 0 / 0.4976 GB, free: 1.512 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.0006463/0.3291, allocations: 365.3 kB / 0.498 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3292, allocations: 8.031 kB / 0.498 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.3292, allocations: 12.89 kB / 0.498 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.3296, allocations: 153.4 kB / 0.4981 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3296, allocations: 4.375 kB / 0.4981 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.3296, allocations: 4.125 kB / 0.4981 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3298, allocations: 101 kB / 0.4982 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3298, allocations: 0 / 0.4982 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3298, allocations: 8 kB / 0.4982 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3298, allocations: 0 / 0.4982 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.3299, allocations: 19.98 kB / 0.4983 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.3303, allocations: 224.5 kB / 0.4985 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.3305, allocations: 74.53 kB / 0.4985 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.694e-05/0.3305, allocations: 24.97 kB / 0.4986 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.3306, allocations: 4 kB / 0.4986 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.3307, allocations: 71.38 kB / 0.4986 GB, free: 344 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3307, allocations: 0 / 0.4986 GB, free: 344 kB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006339/0.3313, allocations: 209.3 kB / 0.4988 GB, free: 128 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.3314, allocations: 81.05 kB / 0.4989 GB, free: 28 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.3316, allocations: 170.3 kB / 0.4991 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3317, allocations: 29.7 kB / 0.4991 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.3317, allocations: 104.1 kB / 0.4992 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.3318, allocations: 35.72 kB / 0.4992 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.3318, allocations: 21.72 kB / 0.4993 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.332, allocations: 330.8 kB / 0.4996 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3321, allocations: 31.98 kB / 0.4996 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3323, allocations: 88.25 kB / 0.4997 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3324, allocations: 81.58 kB / 0.4998 GB, free: 15.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3324, allocations: 0 / 0.4998 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002418/0.3327, allocations: 125.7 kB / 0.4999 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3327, allocations: 4 kB / 0.4999 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3327, allocations: 0 / 0.4999 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3327, allocations: 0 / 0.4999 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3328, allocations: 23.94 kB / 0.4999 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3328, allocations: 3.984 kB / 0.4999 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.3329, allocations: 8 kB / 0.4999 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3329, allocations: 3.938 kB / 0.4999 GB, free: 14.93 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 (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.0001191/0.333, allocations: 121.8 kB / 0.5 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.333, allocations: 16 kB / 0.5001 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.3333, allocations: 142.2 kB / 0.5002 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3333, allocations: 4 kB / 0.5002 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3333, allocations: 0 / 0.5002 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3333, allocations: 0 / 0.5002 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.3339, allocations: 370.9 kB / 0.5006 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3339, allocations: 0 / 0.5006 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.3339, allocations: 15.94 kB / 0.5006 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3339, allocations: 3.984 kB / 0.5006 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.334, allocations: 7.938 kB / 0.5006 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.334, allocations: 4.031 kB / 0.5006 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.334, allocations: 0 / 0.5006 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.3343, allocations: 228.3 kB / 0.5008 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.3343, allocations: 11.91 kB / 0.5008 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.3343, allocations: 11.88 kB / 0.5008 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.3344, allocations: 4 kB / 0.5008 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.3344, allocations: 7.984 kB / 0.5008 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3345, allocations: 7.984 kB / 0.5008 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3346, allocations: 134.1 kB / 0.501 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3346, allocations: 0 / 0.501 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.3349, allocations: 51.86 kB / 0.501 GB, free: 13.73 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 (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.002201/0.3371, allocations: 0.5994 MB / 0.5016 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.3374, allocations: 75.91 kB / 0.5017 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3374, allocations: 4.062 kB / 0.5017 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.3375, allocations: 39.92 kB / 0.5017 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3378, allocations: 23.97 kB / 0.5017 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.3383, allocations: 226.7 kB / 0.502 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.886e-05/0.3384, allocations: 89.44 kB / 0.502 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.3385, allocations: 36.61 kB / 0.5021 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.3386, allocations: 16.5 kB / 0.5021 GB, free: 12.83 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3386, allocations: 3.938 kB / 0.5021 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Templates: time 0.006644/0.3452, allocations: 2.635 MB / 0.5047 GB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.8849369620438665]