Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001397/0.001397, allocations: 80.41 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.001056/0.001056, allocations: 166.4 kB / 25.61 MB, free: 8.594 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.9033/0.9033, allocations: 177.1 MB / 206 MB, free: 4.473 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.1563/0.1563, allocations: 34.26 MB / 296.8 MB, free: 13.94 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 379.4 MB, free: 23.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.937e-06/1.004e-05, allocations: 2.312 kB / 379.4 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.001747/0.001757, allocations: 1.945 MB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.002687, allocations: 1.032 MB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.002765, allocations: 7.938 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.002995, allocations: 39.7 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.003206, allocations: 103.4 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.003349, allocations: 91.64 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.00349, allocations: 155.5 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.00357, allocations: 21.8 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.003645, allocations: 83.73 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.003716, allocations: 31.89 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.003731, allocations: 12 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.36e-05/0.003794, allocations: 51.86 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.003833, allocations: 31.84 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.003865, allocations: 27.86 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004005, allocations: 127.5 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004007, allocations: 4 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004007, allocations: 0 / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.004011, allocations: 0 / 383.1 MB, free: 19.58 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003384/0.004349, allocations: 0.5013 MB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.581e-05/0.004375, allocations: 8.031 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.004409, allocations: 24.84 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.004531, allocations: 173.1 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.004547, allocations: 4.375 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.004563, allocations: 8.375 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.004674, allocations: 139.6 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.004682, allocations: 3.938 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.004691, allocations: 8 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004696, allocations: 0 / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.392e-05/0.00473, allocations: 31.17 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.004997, allocations: 0.5488 MB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.005129, allocations: 67.09 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.005151, allocations: 23.67 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.00516, allocations: 0 / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.485e-05/0.005235, allocations: 98.73 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.005236, allocations: 0 / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001431/0.005379, allocations: 109.5 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.44e-05/0.005393, allocations: 51.41 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.005473, allocations: 256.8 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.005481, allocations: 25.7 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.005521, allocations: 166.8 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.005535, allocations: 31.77 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.005563, allocations: 31.36 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.005603, allocations: 0.5039 MB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.005618, allocations: 8 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.005642, allocations: 58.42 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.005689, allocations: 82.34 kB / 386 MB, free: 16.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005691, allocations: 0 / 386 MB, free: 16.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.622e-05/0.005777, allocations: 117.7 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.005786, allocations: 8 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005789, allocations: 0 / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.005797, allocations: 3.938 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.00585, allocations: 28.11 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005853, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.005885, allocations: 7.938 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.005891, allocations: 8 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 4.411e-05/0.005935, allocations: 170.3 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.00595, allocations: 23.89 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.006043, allocations: 95.06 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006045, allocations: 7.984 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.006047, allocations: 0 / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006049, allocations: 0 / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.569e-05/0.006115, allocations: 145.1 kB / 386.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.006116, allocations: 0 / 386.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.006153, allocations: 12 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006155, allocations: 7.984 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.006161, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.006162, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006162, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.006276, allocations: 156.2 kB / 386.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.006287, allocations: 15.84 kB / 386.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.006301, allocations: 0 / 386.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.674e-05/0.006328, allocations: 16.02 kB / 386.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.006352, allocations: 7.984 kB / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.006361, allocations: 4 kB / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.977e-05/0.006401, allocations: 167.1 kB / 387 MB, free: 15.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006401, allocations: 0 / 387 MB, free: 15.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.00655, allocations: 27.94 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006834/0.007233, allocations: 381 kB / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.007319, allocations: 51.59 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.00732, allocations: 0 / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.892e-05/0.007349, allocations: 35.78 kB / 387.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.007518, allocations: 57.31 kB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.007767, allocations: 258.1 kB / 387.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.008e-05/0.007787, allocations: 71.83 kB / 387.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.007823, allocations: 13.48 kB / 387.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.007884, allocations: 98.19 kB / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of SimCode: time 4.2e-07/0.007884, allocations: 0 / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of Templates: time 0.003122/0.01101, allocations: 2.278 MB / 390.3 MB, free: 12.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.93132257508114]