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.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.001146/0.001146, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.002616/0.002616, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 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.186/1.186, allocations: 158.6 MB / 186 MB, free: 2.488 MB / 170.7 MB " [Timeout remaining time 179] 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.1487/0.1487, allocations: 32.36 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.415e-05, allocations: 2.312 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002675/0.002709, allocations: 1.738 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.003986, allocations: 0.7843 MB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.004122, allocations: 3.938 kB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.004625, allocations: 43.7 kB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.00493, allocations: 43.77 kB / 350.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.005211, allocations: 91.7 kB / 350.4 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.005428, allocations: 103.6 kB / 350.5 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.005652, allocations: 4.234 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.005764, allocations: 51.83 kB / 350.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.005874, allocations: 27.91 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.005901, allocations: 4 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.006007, allocations: 39.92 kB / 350.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.006086, allocations: 27.91 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.006143, allocations: 15.94 kB / 350.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.006364, allocations: 91.59 kB / 350.8 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006366, allocations: 4 kB / 350.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.006368, allocations: 0 / 350.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.006374, allocations: 4 kB / 350.8 MB, free: 6.609 MB / 282.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.0005255/0.0069, allocations: 432 kB / 351.2 MB, free: 6.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.006946, allocations: 8.031 kB / 351.2 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.007004, allocations: 12.89 kB / 351.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.00719, allocations: 145 kB / 351.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.007215, allocations: 4.375 kB / 351.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.007242, allocations: 4.312 kB / 351.4 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.007397, allocations: 66.31 kB / 351.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.00741, allocations: 4 kB / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.007423, allocations: 0 / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.007436, allocations: 4 kB / 351.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.007482, allocations: 7.984 kB / 351.5 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.007802, allocations: 287.7 kB / 351.8 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.007929, allocations: 59.09 kB / 351.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.007963, allocations: 11.69 kB / 351.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.00798, allocations: 4 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.008098, allocations: 65.05 kB / 351.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.0081, allocations: 4 kB / 351.9 MB, free: 5.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004987/0.008599, allocations: 157.3 kB / 352.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.008636, allocations: 55.41 kB / 352.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.008745, allocations: 205.8 kB / 352.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.008757, allocations: 33.7 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.008798, allocations: 138.9 kB / 352.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.008832, allocations: 27.78 kB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.008865, allocations: 27.38 kB / 352.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.008939, allocations: 0.4961 MB / 353 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.008964, allocations: 16.3 kB / 353.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.008996, allocations: 35.38 kB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/0.009048, allocations: 47.36 kB / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.009049, allocations: 8 kB / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.555e-05/0.009145, allocations: 89.56 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.009162, allocations: 8 kB / 353.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.009168, allocations: 3.938 kB / 353.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.009187, allocations: 0 / 353.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.009265, allocations: 15.98 kB / 353.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.009273, allocations: 4.031 kB / 353.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.009303, allocations: 11.88 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.009312, allocations: 4 kB / 353.3 MB, free: 3.922 MB / 282.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 (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 6.877e-05/0.00938, allocations: 168.5 kB / 353.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.009394, allocations: 11.91 kB / 353.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.009537, allocations: 106.5 kB / 353.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.009539, allocations: 0 / 353.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.009543, allocations: 0 / 353.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.009549, allocations: 3.984 kB / 353.6 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.009803, allocations: 385 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.009805, allocations: 4.031 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.009832, allocations: 11.98 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.009835, allocations: 0 / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.009845, allocations: 4 kB / 354 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.009848, allocations: 3.938 kB / 354 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.009849, allocations: 0 / 354 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.009963, allocations: 255.5 kB / 354.2 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.009974, allocations: 11.95 kB / 354.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.009991, allocations: 3.984 kB / 354.2 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.01003, allocations: 7.938 kB / 354.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.01008, allocations: 11.98 kB / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.01009, allocations: 4 kB / 354.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5e-05/0.01014, allocations: 155.2 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01014, allocations: 0 / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.01032, allocations: 23.94 kB / 354.4 MB, free: 2.688 MB / 282.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 (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.0009129/0.01123, allocations: 440.8 kB / 354.9 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.01139, allocations: 59.47 kB / 354.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.0114, allocations: 0 / 354.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/0.01144, allocations: 35.73 kB / 354.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.0117, allocations: 28.16 kB / 355 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.0121, allocations: 212.9 kB / 355.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.01214, allocations: 63.34 kB / 355.2 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.01217, allocations: 16.47 kB / 355.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.01221, allocations: 16.5 kB / 355.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01221, allocations: 64 / 355.3 MB, free: 1.859 MB / 282.7 MB Notification: Performance of Templates: time 0.003626/0.01583, allocations: 1.843 MB / 357.1 MB, free: 44 kB / 282.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.66164981899783]