Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.000967/0.000967, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.0008928/0.0008928, allocations: 165.2 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.9495/0.9495, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.136/0.136, allocations: 34.26 MB / 296.9 MB, free: 13.92 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.484e-05, allocations: 5.547 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001741/0.001756, allocations: 1.7 MB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.002752, allocations: 0.9819 MB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.00282, allocations: 4 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.003063, allocations: 47.75 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.00329, allocations: 107.5 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.003412, allocations: 71.67 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.003527, allocations: 103.6 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.003562, allocations: 12.22 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.003628, allocations: 47.78 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.003691, allocations: 27.91 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.003704, allocations: 4 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.003763, allocations: 35.92 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.003807, allocations: 35.84 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.003834, allocations: 15.94 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003967, allocations: 103.6 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003968, allocations: 0 / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003969, allocations: 0 / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.003972, allocations: 0 / 382.7 MB, free: 20.01 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002985/0.00427, allocations: 467.7 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.623e-05/0.004297, allocations: 12.03 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.004326, allocations: 20.78 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.004432, allocations: 161.3 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.004444, allocations: 4.375 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.004452, allocations: 8.359 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.623e-05/0.004528, allocations: 54.95 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.004534, allocations: 3.938 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.00454, allocations: 0 / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.004544, allocations: 0 / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.004563, allocations: 7.984 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.262e-05/0.004646, allocations: 125.2 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/0.004713, allocations: 47.03 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.004729, allocations: 19.69 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.004738, allocations: 4 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/0.0048, allocations: 61.03 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.004801, allocations: 0 / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001277/0.004929, allocations: 93.45 kB / 383.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.57e-05/0.004945, allocations: 51.41 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.005034, allocations: 269.5 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-06/0.00504, allocations: 37.64 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.005073, allocations: 162.8 kB / 384.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.005095, allocations: 19.88 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.005118, allocations: 27.38 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.005162, allocations: 0.504 MB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.005174, allocations: 7.984 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.00519, allocations: 19.38 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.005222, allocations: 43.28 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.005223, allocations: 0 / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.84e-05/0.005281, allocations: 65.61 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.005291, allocations: 11.92 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005296, allocations: 4 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.005305, allocations: 7.969 kB / 384.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.005355, allocations: 8 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.005357, allocations: 480 / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.005384, allocations: 8 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.005388, allocations: 4 kB / 385 MB, free: 17.49 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 (7): * Single equations (assignments): 7 * 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 4.695e-05/0.005435, allocations: 160.6 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.005448, allocations: 15.91 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.451e-05/0.005532, allocations: 86.75 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.005535, allocations: 7.938 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.005536, allocations: 0 / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.00554, allocations: 4 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.192e-05/0.005602, allocations: 125.2 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005602, allocations: 0 / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.005616, allocations: 4 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.005617, allocations: 4 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.005622, allocations: 4 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005623, allocations: 0 / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005624, allocations: 0 / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.433e-05/0.005688, allocations: 120.3 kB / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.005701, allocations: 19.84 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.005714, allocations: 7.938 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.005736, allocations: 7.984 kB / 385.5 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.005757, allocations: 0 / 385.5 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.005766, allocations: 7.938 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.005815, allocations: 196.4 kB / 385.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005815, allocations: 0 / 385.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.005953, allocations: 16 kB / 385.7 MB, free: 16.65 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007187/0.006672, allocations: 386.2 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.061e-05/0.006742, allocations: 27.67 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006744, allocations: 7.938 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.006766, allocations: 27.8 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.006928, allocations: 38.7 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.00718, allocations: 236.5 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.39e-05/0.007204, allocations: 79.12 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.00723, allocations: 8.5 kB / 386.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.007278, allocations: 86.19 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.007278, allocations: 0 / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of Templates: time 0.002927/0.0102, allocations: 1.831 MB / 388.4 MB, free: 14.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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: 2.9828479513525963]