Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.002773/0.002773, allocations: 83.73 kB / 20.21 MB, free: 4.207 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.0028/0.0028, allocations: 157.7 kB / 23.53 MB, free: 0.8945 MB / 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.456/1.456, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 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.254/0.254, allocations: 32.38 MB / 270 MB, free: 14.75 MB / 266.7 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.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.447e-05, allocations: 6.312 kB / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003094/0.003128, allocations: 1.773 MB / 348.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.004939, allocations: 1.568 MB / 350.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.005021, allocations: 0 / 350.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.005358, allocations: 55.62 kB / 350.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.005647, allocations: 103.5 kB / 350.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.005913, allocations: 139.6 kB / 350.7 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.00609, allocations: 191.3 kB / 350.8 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.006127, allocations: 13.75 kB / 350.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.006247, allocations: 99.67 kB / 351 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.006405, allocations: 55.8 kB / 351 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.006433, allocations: 8 kB / 351 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.006553, allocations: 63.91 kB / 351.1 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.006615, allocations: 39.84 kB / 351.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.006668, allocations: 35.84 kB / 351.2 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.006893, allocations: 167.4 kB / 351.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006896, allocations: 0 / 351.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006897, allocations: 0 / 351.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.006902, allocations: 0 / 351.3 MB, free: 5.402 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004841/0.007386, allocations: 0.4991 MB / 351.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.007419, allocations: 12.03 kB / 351.8 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.007491, allocations: 16.84 kB / 351.8 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.00771, allocations: 180.2 kB / 352 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.007725, allocations: 8.359 kB / 352 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.007738, allocations: 4.375 kB / 352 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.007926, allocations: 160.4 kB / 352.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.007936, allocations: 3.938 kB / 352.2 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.007948, allocations: 0 / 352.2 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.007952, allocations: 7.938 kB / 352.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.008044, allocations: 27.98 kB / 352.2 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.0082, allocations: 172.4 kB / 352.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.008426, allocations: 114.1 kB / 352.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.008496, allocations: 43.34 kB / 352.6 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.008512, allocations: 4 kB / 352.6 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.008666, allocations: 120.3 kB / 352.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.008667, allocations: 0 / 352.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003552/0.009022, allocations: 173.3 kB / 352.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.009055, allocations: 132.5 kB / 353 MB, free: 3.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.009231, allocations: 294.7 kB / 353.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.009242, allocations: 25.7 kB / 353.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.009288, allocations: 162.9 kB / 353.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.009321, allocations: 31.84 kB / 353.5 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.009373, allocations: 35.38 kB / 353.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.009443, allocations: 0.5079 MB / 354 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.009506, allocations: 16 kB / 354 MB, free: 2.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.009588, allocations: 141.5 kB / 354.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.009718, allocations: 99.2 kB / 354.3 MB, free: 2.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009721, allocations: 4 kB / 354.3 MB, free: 2.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001986/0.00992, allocations: 137.4 kB / 354.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.009932, allocations: 8 kB / 354.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.009936, allocations: 3.938 kB / 354.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.009949, allocations: 0 / 354.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.01005, allocations: 23.98 kB / 354.4 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.01005, allocations: 0 / 354.4 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.01012, allocations: 15.92 kB / 354.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01013, allocations: 8.062 kB / 354.5 MB, free: 1.914 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 7.28e-05/0.0102, allocations: 172.5 kB / 354.6 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.01023, allocations: 19.91 kB / 354.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.0105, allocations: 158.6 kB / 354.8 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01051, allocations: 4 kB / 354.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01051, allocations: 0 / 354.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01051, allocations: 0 / 354.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.01063, allocations: 172.6 kB / 355 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01063, allocations: 4 kB / 355 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.01067, allocations: 8 kB / 355 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01067, allocations: 4 kB / 355 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01068, allocations: 7.984 kB / 355 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01068, allocations: 3.938 kB / 355 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01068, allocations: 256 / 355 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.01091, allocations: 195.9 kB / 355.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.01094, allocations: 23.84 kB / 355.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.01097, allocations: 3.984 kB / 355.2 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.01103, allocations: 7.938 kB / 355.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.01107, allocations: 11.98 kB / 355.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.01108, allocations: 4 kB / 355.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.01121, allocations: 213.4 kB / 355.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01121, allocations: 0 / 355.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.01145, allocations: 39.94 kB / 355.5 MB, free: 0.8008 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002884/0.01433, allocations: 488 kB / 356 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.01454, allocations: 87.59 kB / 356.1 MB, free: 344 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01455, allocations: 4.125 kB / 356.1 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.01463, allocations: 55.59 kB / 356.1 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.01498, allocations: 61.33 kB / 356.2 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.0155, allocations: 289.5 kB / 356.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.01562, allocations: 102.2 kB / 356.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.345e-05/0.0157, allocations: 29.47 kB / 356.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.01577, allocations: 24.48 kB / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01577, allocations: 0 / 356.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of Templates: time 0.007478/0.02325, allocations: 2.949 MB / 359.6 MB, free: 12.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.226091815973632]