Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_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.001288/0.001288, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001425/0.001425, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.491/1.491, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2302/0.2302, allocations: 46.97 MB / 361.6 MB, free: 4.035 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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003117/0.3009, allocations: 1.69 MB / 0.5635 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3019, allocations: 0.5504 MB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.302, allocations: 0 / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.3021, allocations: 15.86 kB / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.3024, allocations: 87.55 kB / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.3028, allocations: 139.3 kB / 0.5643 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3029, allocations: 91.69 kB / 0.5643 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.303, allocations: 19.98 kB / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.3031, allocations: 39.8 kB / 0.5644 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.578e-05/0.3032, allocations: 43.77 kB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3032, allocations: 8 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.3034, allocations: 99.94 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.3035, allocations: 27.86 kB / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.3035, allocations: 31.84 kB / 0.5646 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3038, allocations: 157.8 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3038, allocations: 4 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3038, allocations: 0 / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3038, allocations: 0 / 0.5648 GB, free: 1.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006609/0.3044, allocations: 365.5 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3045, allocations: 8.031 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.3045, allocations: 8.891 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3047, allocations: 153.8 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3047, allocations: 384 / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3048, allocations: 7.938 kB / 0.5653 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.3051, allocations: 121.1 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3051, allocations: 0 / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3051, allocations: 0 / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3051, allocations: 0 / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.3054, allocations: 71.8 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.3058, allocations: 256.4 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3061, allocations: 66.53 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.3062, allocations: 48.94 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3063, allocations: 7.922 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3063, allocations: 30.56 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3063, allocations: 0 / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001685/0.308, allocations: 385 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.3081, allocations: 77.11 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3083, allocations: 158.4 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3083, allocations: 29.7 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.3083, allocations: 96.14 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3084, allocations: 35.69 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.3084, allocations: 25.66 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3086, allocations: 322.8 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.3089, allocations: 71.92 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.3092, allocations: 111.3 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.3098, allocations: 152.7 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3098, allocations: 0 / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006671/0.3105, allocations: 193.7 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3105, allocations: 10.66 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3105, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3105, allocations: 3.938 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.3108, allocations: 43.95 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3108, allocations: 0 / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3109, allocations: 19.97 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.3109, allocations: 8 kB / 0.5675 GB, free: 14.12 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 (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 0.0001054/0.311, allocations: 121.8 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.3111, allocations: 11.95 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.3118, allocations: 210.5 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3118, allocations: 3.938 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3118, allocations: 0 / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3118, allocations: 0 / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009484/0.3128, allocations: 426.1 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3128, allocations: 3.938 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.313, allocations: 39.95 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.313, allocations: 0 / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.313, allocations: 4 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.313, allocations: 0 / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.313, allocations: 0 / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006747/0.3137, allocations: 283.3 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.3137, allocations: 24.2 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3137, allocations: 0 / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.3139, allocations: 27.97 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.314, allocations: 11.86 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.314, allocations: 11.94 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3141, allocations: 120.6 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3141, allocations: 0 / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.3144, allocations: 47.86 kB / 0.5688 GB, free: 12.73 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 (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 Backend phase and start with SimCode phase: time 0.001911/0.3163, allocations: 0.5264 MB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006938/0.317, allocations: 155.7 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.317, allocations: 0 / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.3173, allocations: 79.92 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3177, allocations: 26.17 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.3182, allocations: 226.1 kB / 0.5698 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.707e-05/0.3183, allocations: 85.33 kB / 0.5699 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.996e-05/0.3184, allocations: 16.41 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.3184, allocations: 23.42 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3184, allocations: 0 / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Templates: time 0.006171/0.3246, allocations: 2.689 MB / 0.5725 GB, free: 9.113 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_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: 4.943917625001632]