Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.0009425/0.0009425, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001036/0.001036, allocations: 162.7 kB / 25.61 MB, free: 8.57 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.9427/0.9427, allocations: 177.2 MB / 206.1 MB, free: 4.5 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.1504/0.1504, allocations: 34.27 MB / 296.9 MB, free: 13.9 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.134e-05, allocations: 2.312 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.001953/0.001974, allocations: 1.704 MB / 381.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.002946, allocations: 0.9858 MB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.003011, allocations: 0 / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.003265, allocations: 39.83 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.0035, allocations: 103.5 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.003618, allocations: 83.66 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.003738, allocations: 103.6 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.003776, allocations: 4.234 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.003869, allocations: 51.81 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.003935, allocations: 23.92 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003949, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-05/0.004008, allocations: 35.92 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.004052, allocations: 31.91 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.004081, allocations: 19.88 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.004212, allocations: 103.6 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004214, allocations: 0 / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004215, allocations: 4 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004219, allocations: 0 / 382.7 MB, free: 19.99 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.0003366/0.004556, allocations: 471.6 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.004588, allocations: 16.02 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.00462, allocations: 12.84 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.004739, allocations: 161.3 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.004754, allocations: 384 / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.004762, allocations: 8.375 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.069e-05/0.004853, allocations: 62.86 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.00486, allocations: 3.938 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.004866, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.004871, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.00489, allocations: 4 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.244e-05/0.004982, allocations: 125.2 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.459e-05/0.005057, allocations: 43.11 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.005075, allocations: 19.61 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.005086, allocations: 4 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.47e-05/0.00516, allocations: 65.03 kB / 383.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.005161, allocations: 4 kB / 383.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001393/0.005301, allocations: 81.53 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.005323, allocations: 55.34 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.005417, allocations: 273.5 kB / 384 MB, free: 18.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.005425, allocations: 29.7 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.00546, allocations: 166.8 kB / 384.2 MB, free: 18.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.005484, allocations: 15.89 kB / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.005509, allocations: 23.38 kB / 384.3 MB, free: 18.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.005554, allocations: 0.504 MB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.005567, allocations: 4 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.005586, allocations: 31.36 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/0.005619, allocations: 35.36 kB / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005621, allocations: 0 / 384.8 MB, free: 17.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.618e-05/0.005687, allocations: 73.84 kB / 384.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.005699, allocations: 4 kB / 384.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.005704, allocations: 4 kB / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.005715, allocations: 11.88 kB / 384.9 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.005774, allocations: 12 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.005777, allocations: 3.938 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.005807, allocations: 12.02 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.005811, allocations: 160 / 385 MB, free: 17.46 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.873e-05/0.00586, allocations: 159.7 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.005874, allocations: 19.91 kB / 385.1 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.988e-05/0.005963, allocations: 78.81 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.005966, allocations: 3.938 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.005968, allocations: 4 kB / 385.2 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.005971, allocations: 3.984 kB / 385.2 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.312e-05/0.006034, allocations: 125.2 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006035, allocations: 0 / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.676e-05/0.006052, allocations: 15.92 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006053, allocations: 0 / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.006058, allocations: 4 kB / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006058, allocations: 0 / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006059, allocations: 0 / 385.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.677e-05/0.006126, allocations: 116.3 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.006139, allocations: 19.83 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.006152, allocations: 0 / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.006172, allocations: 0 / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.006195, allocations: 11.98 kB / 385.5 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.006206, allocations: 3.938 kB / 385.5 MB, free: 16.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.906e-05/0.006255, allocations: 192.5 kB / 385.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006255, allocations: 0 / 385.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001387/0.006394, allocations: 16 kB / 385.7 MB, free: 16.64 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.0008087/0.007202, allocations: 392 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.007286, allocations: 31.67 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007288, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.437e-05/0.007312, allocations: 31.55 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.007497, allocations: 42.48 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.007788, allocations: 228.5 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.708e-05/0.007815, allocations: 79.12 kB / 386.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.846e-05/0.007844, allocations: 16.55 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.007893, allocations: 86.19 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007893, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.003294/0.01119, allocations: 1.828 MB / 388.4 MB, free: 14.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.090797445271164]