Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001369/0.001369, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001604/0.001604, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9763/0.9763, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2624/0.2624, allocations: 32.8 MB / 294.3 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.543e-05, allocations: 9.344 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002415/0.00244, allocations: 1.962 MB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.003658, allocations: 1.044 MB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.003757, allocations: 3.938 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.004052, allocations: 47.58 kB / 379.2 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.004373, allocations: 107.4 kB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.004595, allocations: 95.62 kB / 379.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.004797, allocations: 151.5 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.004896, allocations: 17.8 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.005, allocations: 75.81 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.005084, allocations: 39.77 kB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.005102, allocations: 8 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.005189, allocations: 47.92 kB / 379.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.00524, allocations: 31.84 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.00529, allocations: 31.91 kB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.005494, allocations: 127.5 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005498, allocations: 0 / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005499, allocations: 4 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.005504, allocations: 0 / 379.9 MB, free: 0.7969 MB / 346.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.0005113/0.006015, allocations: 0.5013 MB / 380.4 MB, free: 260 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.006049, allocations: 8.031 kB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.006106, allocations: 28.8 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.006298, allocations: 169.2 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.006316, allocations: 384 / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.006338, allocations: 12.38 kB / 380.6 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.006538, allocations: 143.6 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006548, allocations: 3.938 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.006561, allocations: 8 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.006569, allocations: 0 / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.006624, allocations: 35.91 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.007081, allocations: 0.5795 MB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.007282, allocations: 75.09 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.007319, allocations: 27.67 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.00733, allocations: 4 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.007447, allocations: 98.69 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.007449, allocations: 0 / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002104/0.007659, allocations: 113.5 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.007685, allocations: 55.41 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.00783, allocations: 243.1 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.007845, allocations: 29.7 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.007914, allocations: 166.8 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.007935, allocations: 31.75 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.007974, allocations: 35.36 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.008084, allocations: 0.5 MB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.008115, allocations: 15.98 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/0.008161, allocations: 62.42 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.006e-05/0.008241, allocations: 86.3 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.008245, allocations: 4 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001321/0.008377, allocations: 117.4 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.008393, allocations: 10.03 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.008397, allocations: 0 / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.00841, allocations: 4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.008478, allocations: 19.98 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.008484, allocations: 4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.00852, allocations: 11.94 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.008529, allocations: 7.984 kB / 383.1 MB, free: 13.32 MB / 362.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 7.404e-05/0.008603, allocations: 168.5 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.00862, allocations: 20 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.00877, allocations: 107.1 kB / 383.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.008772, allocations: 4 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.008775, allocations: 0 / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008778, allocations: 0 / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.008884, allocations: 164.5 kB / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.008887, allocations: 4 kB / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.008939, allocations: 11.98 kB / 383.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.008942, allocations: 4 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.008952, allocations: 0 / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008953, allocations: 0 / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008955, allocations: 4 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.009124, allocations: 164.7 kB / 383.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.009142, allocations: 15.84 kB / 383.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.009158, allocations: 4 kB / 383.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.009185, allocations: 4 kB / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.009221, allocations: 7.984 kB / 383.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.009235, allocations: 8 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.707e-05/0.009312, allocations: 175.1 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009312, allocations: 0 / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001661/0.009478, allocations: 27.98 kB / 383.9 MB, free: 12.38 MB / 362.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.0007776/0.01026, allocations: 394 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01039, allocations: 63.78 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01039, allocations: 0 / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.01043, allocations: 35.61 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.01064, allocations: 44.64 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.01104, allocations: 250 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.01108, allocations: 67.84 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.863e-05/0.01112, allocations: 17.55 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.01116, allocations: 24.48 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01116, allocations: 4 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of Templates: time 0.004134/0.01529, allocations: 2.205 MB / 387 MB, free: 9.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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.1527740717865527]