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.001095/0.001095, allocations: 95.31 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.001509/0.001509, 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 0.9337/0.9337, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1384/0.1384, allocations: 32.37 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.713e-06/1.713e-06, allocations: 0 / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.63e-05/3.801e-05, allocations: 16.09 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003291/0.003329, allocations: 1.726 MB / 349.5 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.005184, allocations: 1.524 MB / 351 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.00528, allocations: 0 / 351 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.005689, allocations: 39.77 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.006018, allocations: 59.69 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.006331, allocations: 91.64 kB / 351.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.006516, allocations: 99.67 kB / 351.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.006626, allocations: 8.234 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.006762, allocations: 55.78 kB / 351.4 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.006872, allocations: 31.89 kB / 351.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.006892, allocations: 4 kB / 351.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.007007, allocations: 63.89 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.007057, allocations: 11.94 kB / 351.5 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.007099, allocations: 19.92 kB / 351.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.007297, allocations: 111.6 kB / 351.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.007301, allocations: 4 kB / 351.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.007303, allocations: 0 / 351.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.007307, allocations: 3.938 kB / 351.6 MB, free: 5.504 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.000392/0.007699, allocations: 439.9 kB / 352 MB, free: 5.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.007739, allocations: 12.03 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.007787, allocations: 12.88 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.00794, allocations: 140.5 kB / 352.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.007958, allocations: 4.375 kB / 352.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.007983, allocations: 4.375 kB / 352.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.008126, allocations: 104 kB / 352.3 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.008135, allocations: 3.938 kB / 352.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.008145, allocations: 0 / 352.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.008152, allocations: 0 / 352.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.488e-05/0.008187, allocations: 23.92 kB / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.008445, allocations: 271.8 kB / 352.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.008547, allocations: 51.16 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.008582, allocations: 23.62 kB / 352.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.008596, allocations: 3.938 kB / 352.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.963e-05/0.008696, allocations: 73.05 kB / 352.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.008697, allocations: 0 / 352.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003683/0.009065, allocations: 153.3 kB / 352.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.009091, allocations: 85.09 kB / 353 MB, free: 3.953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.009181, allocations: 205.4 kB / 353.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.009191, allocations: 29.64 kB / 353.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.009223, allocations: 146.9 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.009247, allocations: 27.78 kB / 353.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.009276, allocations: 27.38 kB / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.009322, allocations: 0.4923 MB / 353.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.009347, allocations: 8 kB / 353.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.009383, allocations: 72.69 kB / 354 MB, free: 2.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.999e-05/0.009432, allocations: 55.33 kB / 354 MB, free: 2.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.009434, allocations: 4 kB / 354 MB, free: 2.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001264/0.00956, allocations: 93.53 kB / 354.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.009573, allocations: 4 kB / 354.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.009577, allocations: 0 / 354.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.009593, allocations: 4 kB / 354.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.009655, allocations: 15.98 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.00966, allocations: 0 / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.009687, allocations: 4 kB / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.009694, allocations: 7.984 kB / 354.2 MB, free: 2.691 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.356e-05/0.009748, allocations: 170.7 kB / 354.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.009765, allocations: 19.94 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.009909, allocations: 94.59 kB / 354.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.009911, allocations: 4 kB / 354.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.009915, allocations: 0 / 354.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.009918, allocations: 3.938 kB / 354.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.01015, allocations: 381 kB / 354.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01015, allocations: 0 / 354.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.01017, allocations: 15.92 kB / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01018, allocations: 4 kB / 354.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.01018, allocations: 4.031 kB / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01018, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01019, allocations: 4 kB / 354.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.01029, allocations: 259.4 kB / 355.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.0103, allocations: 7.953 kB / 355.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.01032, allocations: 7.984 kB / 355.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.01036, allocations: 4 kB / 355.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.01039, allocations: 7.984 kB / 355.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01041, allocations: 4 kB / 355.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.049e-05/0.01046, allocations: 162.7 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01046, allocations: 4 kB / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.01064, allocations: 35.92 kB / 355.3 MB, free: 1.441 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.001004/0.01165, allocations: 482.3 kB / 355.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01178, allocations: 51.61 kB / 355.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01178, allocations: 4.062 kB / 355.8 MB, free: 1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.01182, allocations: 31.61 kB / 355.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.01204, allocations: 39.81 kB / 355.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.01234, allocations: 189.1 kB / 356.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.01237, allocations: 71.23 kB / 356.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.01241, allocations: 12.5 kB / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.01245, allocations: 28.48 kB / 356.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of SimCode: time 1.203e-06/0.01245, allocations: 4 kB / 356.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of Templates: time 0.004095/0.01655, allocations: 2.13 MB / 358.3 MB, free: 14.46 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.314504927955568]