Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001068/0.001068, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001561/0.001561, allocations: 165 kB / 24.56 MB, free: 8 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.9922/0.9922, allocations: 177.2 MB / 205 MB, free: 5.621 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.2752/0.2752, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.913e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003218/0.003247, allocations: 1.638 MB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009873/0.004235, allocations: 0.5609 MB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.004306, allocations: 0 / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.004548, allocations: 27.73 kB / 380.3 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.004869, allocations: 75.61 kB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.00521, allocations: 115.6 kB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.005388, allocations: 79.7 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.0055, allocations: 15.97 kB / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.005572, allocations: 27.92 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.005661, allocations: 31.89 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.005681, allocations: 4 kB / 380.6 MB, free: 36 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.005913, allocations: 95.81 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.005975, allocations: 11.94 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.006008, allocations: 11.98 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.00635, allocations: 139.5 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.006353, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006354, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006358, allocations: 4 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004418/0.0068, allocations: 439.9 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.006838, allocations: 8.031 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.00689, allocations: 12.88 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.007066, allocations: 144.4 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.007077, allocations: 4.375 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.007105, allocations: 4.375 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.007257, allocations: 96.03 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.007268, allocations: 4.188 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.00728, allocations: 4.125 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007287, allocations: 4 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.007318, allocations: 7.984 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.007688, allocations: 291.7 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.316e-05/0.007761, allocations: 39.06 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.007791, allocations: 15.77 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.007814, allocations: 4 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.007839, allocations: 37.33 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.007841, allocations: 0 / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004267/0.008267, allocations: 117.5 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.008309, allocations: 85.05 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.008458, allocations: 203.8 kB / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.00847, allocations: 25.7 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.008529, allocations: 138.9 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.008556, allocations: 31.73 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.008716, allocations: 27.38 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.008835, allocations: 0.4884 MB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.00887, allocations: 8 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.008924, allocations: 61.12 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.008985, allocations: 31.83 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008986, allocations: 4.031 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.009108, allocations: 77.52 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.009122, allocations: 4 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.009129, allocations: 4 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.009144, allocations: 0 / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.009235, allocations: 19.98 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.009241, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.00927, allocations: 7.938 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.009278, allocations: 7.984 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.161e-05/0.00935, allocations: 156.6 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.009383, allocations: 19.89 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.009533, allocations: 78.39 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009535, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.009539, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009542, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.009873, allocations: 353.3 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009875, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.009922, allocations: 11.98 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.009927, allocations: 4 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.009933, allocations: 0 / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.009935, allocations: 4 kB / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.009937, allocations: 288 / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.01008, allocations: 219.8 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.0101, allocations: 15.94 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.01011, allocations: 3.938 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.01016, allocations: 3.984 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.0102, allocations: 4 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.0102, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.781e-05/0.01028, allocations: 157.3 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01028, allocations: 0 / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.01057, allocations: 43.86 kB / 384.4 MB, free: 11.98 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001162/0.01173, allocations: 0.4995 MB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.01186, allocations: 39.67 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01187, allocations: 4 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.466e-05/0.0119, allocations: 31.75 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.01217, allocations: 16 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.01253, allocations: 190.3 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.01257, allocations: 59.34 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.272e-05/0.01263, allocations: 20.7 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.01267, allocations: 20.48 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01267, allocations: 4 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of Templates: time 0.004604/0.01727, allocations: 2.029 MB / 387.3 MB, free: 9.211 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.165903344284743]