Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.001575/0.001575, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001118/0.001118, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.022/1.022, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1362/0.1362, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 3.938 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.598e-05, allocations: 6.25 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002068/0.002094, allocations: 1.732 MB / 349.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.003465, allocations: 1.532 MB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.003544, allocations: 0 / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.003896, allocations: 35.78 kB / 351 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.004153, allocations: 59.69 kB / 351.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.004355, allocations: 91.69 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.004496, allocations: 95.64 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.004585, allocations: 4.234 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.00466, allocations: 63.81 kB / 351.4 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.004753, allocations: 23.92 kB / 351.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.004772, allocations: 4 kB / 351.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.004874, allocations: 67.83 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.004919, allocations: 19.92 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.004958, allocations: 15.92 kB / 351.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.005129, allocations: 115.6 kB / 351.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005131, allocations: 0 / 351.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005132, allocations: 3.938 kB / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.005137, allocations: 0 / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000401/0.005538, allocations: 440 kB / 352 MB, free: 5.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005574, allocations: 8.031 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.005623, allocations: 8.891 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.005772, allocations: 144.4 kB / 352.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.005792, allocations: 4.375 kB / 352.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.005814, allocations: 4.375 kB / 352.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.00596, allocations: 104 kB / 352.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.005971, allocations: 3.938 kB / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.005981, allocations: 0 / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.005989, allocations: 4 kB / 352.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.006026, allocations: 23.92 kB / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.006331, allocations: 275.8 kB / 352.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006449, allocations: 55.16 kB / 352.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.00648, allocations: 15.62 kB / 352.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.006495, allocations: 4 kB / 352.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.006598, allocations: 80.97 kB / 352.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.006599, allocations: 0 / 352.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004432/0.007042, allocations: 149.3 kB / 352.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.007079, allocations: 85.11 kB / 353 MB, free: 3.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.007182, allocations: 209.3 kB / 353.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.007193, allocations: 25.7 kB / 353.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.007225, allocations: 138.9 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.007253, allocations: 27.78 kB / 353.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.007289, allocations: 31.38 kB / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.007341, allocations: 0.4923 MB / 353.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.007364, allocations: 11.98 kB / 353.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.007398, allocations: 68.75 kB / 354 MB, free: 2.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.102e-05/0.007449, allocations: 55.25 kB / 354 MB, free: 2.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.00745, allocations: 4.031 kB / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001043/0.007554, allocations: 97.52 kB / 354.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.007568, allocations: 4 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007573, allocations: 4 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.00759, allocations: 3.984 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.007666, allocations: 12 kB / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.007672, allocations: 0 / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.007701, allocations: 4 kB / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.007707, allocations: 4 kB / 354.2 MB, free: 2.684 MB / 282.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 (10): * Single equations (assignments): 10 * 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 5.524e-05/0.007763, allocations: 172.5 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.007776, allocations: 11.95 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.007904, allocations: 106.5 kB / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007906, allocations: 0 / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.007909, allocations: 0 / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.007912, allocations: 0 / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.008122, allocations: 385 kB / 354.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008123, allocations: 0 / 354.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.008145, allocations: 15.94 kB / 354.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008148, allocations: 0 / 354.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.008155, allocations: 4.031 kB / 354.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008158, allocations: 4 kB / 354.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008159, allocations: 0 / 354.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.008278, allocations: 263.4 kB / 355.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.008288, allocations: 7.938 kB / 355.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.008304, allocations: 4 kB / 355.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/0.008345, allocations: 4 kB / 355.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.008379, allocations: 7.984 kB / 355.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.008392, allocations: 7.938 kB / 355.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.377e-05/0.008436, allocations: 158 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008436, allocations: 4 kB / 355.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.008619, allocations: 35.94 kB / 355.3 MB, free: 1.434 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001054/0.009673, allocations: 484.6 kB / 355.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.009805, allocations: 51.61 kB / 355.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.009807, allocations: 0 / 355.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.009843, allocations: 35.67 kB / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01006, allocations: 35.83 kB / 355.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.01037, allocations: 201 kB / 356.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.057e-05/0.0104, allocations: 67.25 kB / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.01044, allocations: 16.48 kB / 356.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.01047, allocations: 20.5 kB / 356.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01048, allocations: 4.062 kB / 356.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of Templates: time 0.005327/0.0158, allocations: 2.29 MB / 358.5 MB, free: 14.29 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.4648832017555833]