Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001267/0.001267, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001456/0.001456, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2405/0.2405, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 64.14 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3836, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004031/0.3877, allocations: 1.603 MB / 0.5634 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.389, allocations: 0.5271 MB / 0.5639 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.3891, allocations: 0 / 0.5639 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3893, allocations: 31.78 kB / 0.5639 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.3896, allocations: 83.67 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.3899, allocations: 91.7 kB / 0.5641 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3901, allocations: 79.75 kB / 0.5642 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3902, allocations: 8 kB / 0.5642 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.3903, allocations: 27.86 kB / 0.5642 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3904, allocations: 43.77 kB / 0.5643 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3904, allocations: 4 kB / 0.5643 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.3906, allocations: 91.95 kB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.3906, allocations: 15.92 kB / 0.5644 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.3907, allocations: 19.86 kB / 0.5644 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.391, allocations: 161.8 kB / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.391, allocations: 0 / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.391, allocations: 4 kB / 0.5645 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.391, allocations: 0 / 0.5645 GB, free: 1.395 MB / 398.1 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.0005842/0.3916, allocations: 333.6 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3916, allocations: 8.031 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.3917, allocations: 8.891 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.3919, allocations: 144.1 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.3919, allocations: 384 / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.3919, allocations: 4.375 kB / 0.565 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3922, allocations: 101.2 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3922, allocations: 0 / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3922, allocations: 4 kB / 0.5651 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3922, allocations: 3.938 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3923, allocations: 35.97 kB / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.3928, allocations: 236.5 kB / 0.5654 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.3929, allocations: 62.42 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.393, allocations: 28.97 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.393, allocations: 4 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.393, allocations: 34.56 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.393, allocations: 0 / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006826/0.3937, allocations: 177.4 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.3938, allocations: 85.08 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.394, allocations: 152.4 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.394, allocations: 29.7 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.3941, allocations: 108 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3941, allocations: 15.86 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3942, allocations: 29.7 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3943, allocations: 326.8 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-05/0.3944, allocations: 27.92 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3946, allocations: 75.39 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3947, allocations: 64.83 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3947, allocations: 0 / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002487/0.395, allocations: 133.6 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.395, allocations: 4 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.395, allocations: 0 / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.395, allocations: 0 / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3951, allocations: 19.98 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3951, allocations: 0 / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.3952, allocations: 4 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3952, allocations: 7.984 kB / 0.5667 GB, free: 14.97 MB / 414.1 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 (9): * Single equations (assignments): 9 * 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 0.0001207/0.3953, allocations: 133.7 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.3953, allocations: 7.953 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.3956, allocations: 118.4 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3957, allocations: 0 / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3957, allocations: 4 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3957, allocations: 0 / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.3961, allocations: 338 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3962, allocations: 7.984 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.3962, allocations: 16 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3962, allocations: 0 / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3962, allocations: 384 / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.3962, allocations: 11.92 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3962, allocations: 7.938 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3965, allocations: 199.5 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.3965, allocations: 7.953 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3966, allocations: 0 / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.3966, allocations: 7.984 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3967, allocations: 7.938 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3967, allocations: 8 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.3968, allocations: 119.2 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3968, allocations: 0 / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.3971, allocations: 39.86 kB / 0.5677 GB, free: 13.88 MB / 414.1 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 (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 Backend phase and start with SimCode phase: time 0.001921/0.399, allocations: 0.5399 MB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3993, allocations: 63.95 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3993, allocations: 8 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.3994, allocations: 31.92 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3997, allocations: 25.12 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.4002, allocations: 223.6 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.846e-05/0.4003, allocations: 83.08 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.4004, allocations: 23.42 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4004, allocations: 4 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Templates: time 0.004467/0.4048, allocations: 2.172 MB / 0.5708 GB, free: 10.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.021229050995316]