Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001265/0.001265, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001137/0.001137, allocations: 170.4 kB / 25.61 MB, free: 8.902 MB / 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 0.9318/0.9318, allocations: 177.1 MB / 206 MB, free: 4.527 MB / 186.7 MB " [Timeout remaining time 179] 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.1496/0.1496, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.256e-05, allocations: 7.734 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00537/0.005392, allocations: 1.766 MB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.006587, allocations: 1.001 MB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.006667, allocations: 4 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.006971, allocations: 103.6 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.007274, allocations: 135.4 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.007505, allocations: 75.67 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.007678, allocations: 135.5 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.01078, allocations: 8 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.01089, allocations: 71.8 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.01099, allocations: 63.8 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.01101, allocations: 8 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.01112, allocations: 59.86 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.01117, allocations: 27.91 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.01121, allocations: 27.86 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.01139, allocations: 127.6 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.0114, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0114, allocations: 3.938 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.0114, allocations: 0 / 383 MB, free: 19.71 MB / 314.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.0003718/0.01177, allocations: 479.5 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.01181, allocations: 12.02 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.01185, allocations: 24.84 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.01198, allocations: 152.4 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.012, allocations: 4.375 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.01201, allocations: 384 / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.833e-05/0.01211, allocations: 66.94 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.01212, allocations: 3.938 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.01213, allocations: 4 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.01213, allocations: 0 / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.911e-05/0.01216, allocations: 15.92 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.01239, allocations: 280.4 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.01252, allocations: 51.03 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.01255, allocations: 11.69 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.01256, allocations: 7.938 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.913e-05/0.01265, allocations: 81.08 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.01265, allocations: 0 / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004456/0.01309, allocations: 197.3 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.01311, allocations: 55.41 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.01323, allocations: 261.9 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.01324, allocations: 25.7 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.01328, allocations: 170.8 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.01331, allocations: 31.7 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.01335, allocations: 35.34 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.0134, allocations: 0.5117 MB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.01342, allocations: 11.98 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.01346, allocations: 43.28 kB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.705e-05/0.01352, allocations: 59.41 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01352, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003142/0.01666, allocations: 105.5 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01667, allocations: 6.031 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01668, allocations: 0 / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.01669, allocations: 4 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.01676, allocations: 24.02 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.01676, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.0168, allocations: 8 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.0168, allocations: 4 kB / 385.7 MB, free: 16.79 MB / 314.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 6.191e-05/0.01687, allocations: 171.4 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.01689, allocations: 19.91 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.01705, allocations: 119.7 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01705, allocations: 4 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01705, allocations: 0 / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01706, allocations: 3.984 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.01734, allocations: 421.1 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01735, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.01739, allocations: 19.94 kB / 386.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01739, allocations: 7.984 kB / 386.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.0174, allocations: 3.984 kB / 386.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.0174, allocations: 0 / 386.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.0174, allocations: 4 kB / 386.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.01753, allocations: 271.1 kB / 386.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.01755, allocations: 15.91 kB / 386.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01757, allocations: 8 kB / 386.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.01763, allocations: 11.98 kB / 386.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.01766, allocations: 15.86 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.01767, allocations: 4 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.01774, allocations: 184.1 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01774, allocations: 0 / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01799, allocations: 35.94 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001199/0.01919, allocations: 481.3 kB / 387.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.0193, allocations: 67.58 kB / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01931, allocations: 0 / 387.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.01935, allocations: 35.61 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/0.02266, allocations: 37.34 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.02303, allocations: 284.1 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.02307, allocations: 79.19 kB / 387.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.732e-05/0.02312, allocations: 24.61 kB / 388 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.02318, allocations: 94.19 kB / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of SimCode: time 5.92e-07/0.02318, allocations: 0 / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of Templates: time 0.005296/0.02848, allocations: 2.336 MB / 390.4 MB, free: 12.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.1932980697602034]