Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 104.5 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 190.8 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.1 MB / 227.9 MB, free: 4.324 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4299/0.4299, allocations: 43.52 MB / 320.8 MB, free: 9.016 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 71.89 kB / 450.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3885, allocations: 57.79 MB / 0.4965 GB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002967/0.3915, allocations: 1.693 MB / 0.4981 GB, free: 18.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3928, allocations: 0.8069 MB / 0.4989 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.3929, allocations: 1.031 kB / 0.4989 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.3933, allocations: 36.14 kB / 0.4989 GB, free: 17.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3935, allocations: 59.88 kB / 0.499 GB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.3937, allocations: 77.11 kB / 0.4991 GB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3939, allocations: 102.3 kB / 0.4992 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3941, allocations: 14.72 kB / 0.4992 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.3941, allocations: 46.11 kB / 0.4992 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.3942, allocations: 29.27 kB / 0.4993 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.3943, allocations: 4.375 kB / 0.4993 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.3944, allocations: 41.97 kB / 0.4993 GB, free: 17.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.3945, allocations: 17.31 kB / 0.4993 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.3945, allocations: 27.42 kB / 0.4993 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3948, allocations: 113.7 kB / 0.4994 GB, free: 17.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3948, allocations: 1.281 kB / 0.4994 GB, free: 17.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3948, allocations: 0 / 0.4994 GB, free: 17.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3948, allocations: 0 / 0.4994 GB, free: 17.48 MB / 382.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.0005404/0.3953, allocations: 404.8 kB / 0.4998 GB, free: 17.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3954, allocations: 14.2 kB / 0.4998 GB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.3954, allocations: 12.05 kB / 0.4999 GB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3957, allocations: 211.8 kB / 0.5001 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3957, allocations: 5.094 kB / 0.5001 GB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3958, allocations: 2 kB / 0.5001 GB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3959, allocations: 53.58 kB / 0.5001 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3959, allocations: 0.9062 kB / 0.5001 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.396, allocations: 5.062 kB / 0.5001 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.396, allocations: 0 / 0.5001 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.547e-05/0.3961, allocations: 18.42 kB / 0.5001 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3964, allocations: 288.3 kB / 0.5004 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.3966, allocations: 58.3 kB / 0.5005 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.3967, allocations: 21.7 kB / 0.5005 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3967, allocations: 1.281 kB / 0.5005 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.3968, allocations: 73.34 kB / 0.5006 GB, free: 16.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3969, allocations: 0 / 0.5006 GB, free: 16.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005734/0.3974, allocations: 165 kB / 0.5007 GB, free: 16.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3975, allocations: 60.44 kB / 0.5008 GB, free: 16.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3976, allocations: 164.2 kB / 0.5009 GB, free: 16.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3976, allocations: 27.02 kB / 0.501 GB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.3977, allocations: 104.2 kB / 0.5011 GB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.3977, allocations: 26.94 kB / 0.5011 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.3978, allocations: 21.56 kB / 0.5011 GB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.3978, allocations: 321.7 kB / 0.5014 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.3979, allocations: 17.91 kB / 0.5014 GB, free: 15.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.398, allocations: 39.86 kB / 0.5015 GB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.3981, allocations: 63.66 kB / 0.5015 GB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3981, allocations: 0 / 0.5015 GB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001654/0.3983, allocations: 106.1 kB / 0.5016 GB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3983, allocations: 5.844 kB / 0.5016 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3983, allocations: 1.156 kB / 0.5016 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3983, allocations: 5.438 kB / 0.5016 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3984, allocations: 16.81 kB / 0.5017 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3984, allocations: 4.031 kB / 0.5017 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.3985, allocations: 6.922 kB / 0.5017 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3985, allocations: 10.47 kB / 0.5017 GB, free: 15.34 MB / 382.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.681e-05/0.3986, allocations: 117 kB / 0.5018 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.3986, allocations: 8.609 kB / 0.5018 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.3987, allocations: 20.2 kB / 0.5018 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3987, allocations: 5.078 kB / 0.5018 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3987, allocations: 1.125 kB / 0.5018 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3987, allocations: 4 kB / 0.5018 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.3991, allocations: 395 kB / 0.5022 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3991, allocations: 1.156 kB / 0.5022 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.3991, allocations: 6.719 kB / 0.5022 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3991, allocations: 1.125 kB / 0.5022 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3991, allocations: 2.594 kB / 0.5022 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3991, allocations: 3.984 kB / 0.5022 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3991, allocations: 5.375 kB / 0.5022 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3993, allocations: 203.4 kB / 0.5024 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.3994, allocations: 83.34 kB / 0.5025 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3994, allocations: 2.125 kB / 0.5025 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.3995, allocations: 2.5 kB / 0.5025 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3995, allocations: 11.55 kB / 0.5025 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3995, allocations: 3.344 kB / 0.5025 GB, free: 14.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.303e-05/0.3996, allocations: 130.2 kB / 0.5026 GB, free: 14.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3996, allocations: 192 / 0.5026 GB, free: 14.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3999, allocations: 23.88 kB / 0.5027 GB, free: 14.41 MB / 382.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.001679/0.4016, allocations: 490.1 kB / 0.5031 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.4018, allocations: 57.98 kB / 0.5032 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4018, allocations: 0 / 0.5032 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.4019, allocations: 33.19 kB / 0.5032 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.4022, allocations: 33.33 kB / 0.5033 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.4027, allocations: 197.9 kB / 0.5034 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.4028, allocations: 0.6989 MB / 0.5041 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.104e-05/0.4029, allocations: 16.83 kB / 0.5041 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.4029, allocations: 15.66 kB / 0.5042 GB, free: 13.06 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4029, allocations: 0 / 0.5042 GB, free: 13.06 MB / 382.1 MB Notification: Performance of Templates: time 0.004991/0.4079, allocations: 1.693 MB / 0.5058 GB, free: 12.19 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.668439514003694]