Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008764/0.008764, allocations: 104.2 kB / 21.97 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 210.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.5 MB / 258.9 MB, free: 8.176 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2434/0.2434, allocations: 46.94 MB / 362.3 MB, free: 4.23 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 79.86 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3256, allocations: 66.07 MB / 0.5628 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003367/0.329, allocations: 1.719 MB / 0.5644 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3302, allocations: 0.6199 MB / 0.565 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.3302, allocations: 0 / 0.565 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.3304, allocations: 19.8 kB / 0.5651 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3307, allocations: 87.55 kB / 0.5651 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.3312, allocations: 183.3 kB / 0.5653 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3314, allocations: 107.6 kB / 0.5654 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3315, allocations: 15.97 kB / 0.5654 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.3316, allocations: 39.84 kB / 0.5655 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.3316, allocations: 47.77 kB / 0.5655 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3317, allocations: 12 kB / 0.5655 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.3319, allocations: 103.9 kB / 0.5656 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.3319, allocations: 19.92 kB / 0.5656 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.332, allocations: 35.8 kB / 0.5657 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.3323, allocations: 173.8 kB / 0.5658 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3323, allocations: 0 / 0.5658 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3323, allocations: 0 / 0.5658 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3323, allocations: 7.875 kB / 0.5659 GB, free: 1.082 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.0006375/0.3329, allocations: 369.5 kB / 0.5662 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3329, allocations: 8.031 kB / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.333, allocations: 12.84 kB / 0.5662 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3332, allocations: 146.9 kB / 0.5664 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3332, allocations: 384 / 0.5664 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.3332, allocations: 4.375 kB / 0.5664 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.3335, allocations: 99.42 kB / 0.5665 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3335, allocations: 7.938 kB / 0.5665 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3336, allocations: 0 / 0.5665 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3336, allocations: 4 kB / 0.5665 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.3339, allocations: 71.92 kB / 0.5665 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.3345, allocations: 308 kB / 0.5668 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.3348, allocations: 74.47 kB / 0.5669 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.3349, allocations: 48.94 kB / 0.567 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.335, allocations: 4 kB / 0.567 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.335, allocations: 38.55 kB / 0.567 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.335, allocations: 0 / 0.567 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001635/0.3366, allocations: 408.9 kB / 0.5674 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.3367, allocations: 81.11 kB / 0.5675 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3369, allocations: 162.4 kB / 0.5676 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3369, allocations: 25.7 kB / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.337, allocations: 104 kB / 0.5677 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.337, allocations: 31.73 kB / 0.5678 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.3371, allocations: 25.7 kB / 0.5678 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3372, allocations: 318.8 kB / 0.5681 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.3375, allocations: 83.91 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.3378, allocations: 93.62 kB / 0.5683 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.3383, allocations: 168.9 kB / 0.5684 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3383, allocations: 4 kB / 0.5684 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000633/0.339, allocations: 217.4 kB / 0.5686 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.339, allocations: 4 kB / 0.5686 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.339, allocations: 0 / 0.5686 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.339, allocations: 0 / 0.5686 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3392, allocations: 43.89 kB / 0.5687 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3392, allocations: 0 / 0.5687 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.3394, allocations: 27.91 kB / 0.5687 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3394, allocations: 8.375 kB / 0.5687 GB, free: 13.93 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.0001102/0.3395, allocations: 121.8 kB / 0.5688 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.3395, allocations: 7.953 kB / 0.5688 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006868/0.3402, allocations: 226.1 kB / 0.5691 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3402, allocations: 0 / 0.5691 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3402, allocations: 7.938 kB / 0.5691 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3402, allocations: 7.938 kB / 0.5691 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009736/0.3412, allocations: 493.3 kB / 0.5696 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3412, allocations: 0 / 0.5696 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.3414, allocations: 43.89 kB / 0.5696 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3414, allocations: 3.938 kB / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3414, allocations: 8 kB / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3414, allocations: 288 / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3414, allocations: 0 / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/0.3421, allocations: 299.2 kB / 0.5699 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.3421, allocations: 19.88 kB / 0.5699 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.3422, allocations: 4 kB / 0.5699 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3423, allocations: 19.97 kB / 0.5699 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.3424, allocations: 11.98 kB / 0.5699 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.3424, allocations: 0 / 0.5699 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3425, allocations: 131.9 kB / 0.5701 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3425, allocations: 0 / 0.5701 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.3428, allocations: 47.86 kB / 0.5701 GB, free: 12.42 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.001737/0.3446, allocations: 0.4907 MB / 0.5706 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.3453, allocations: 171.8 kB / 0.5708 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3453, allocations: 0 / 0.5708 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.3456, allocations: 91.84 kB / 0.5708 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.3459, allocations: 26.02 kB / 0.5709 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.3465, allocations: 260 kB / 0.5711 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3469, allocations: 0.7041 MB / 0.5718 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.347, allocations: 19.44 kB / 0.5718 GB, free: 10.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.347, allocations: 0 / 0.5718 GB, free: 10.77 MB / 414.1 MB Notification: Performance of Templates: time 0.005104/0.3521, allocations: 2.618 MB / 0.5744 GB, free: 8.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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: 7.963651443133131]