Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001829/0.001829, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001669/0.001669, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.47/1.47, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.233/0.233, allocations: 46.9 MB / 361.1 MB, free: 4.641 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1") [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.002331/0.002331, allocations: 79.88 kB / 0.4968 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3164, allocations: 65.99 MB / 0.5612 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003116/0.3195, allocations: 1.702 MB / 0.5629 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3206, allocations: 0.6005 MB / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.3207, allocations: 3.938 kB / 0.5635 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.3213, allocations: 455.1 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.3218, allocations: 291.3 kB / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.3222, allocations: 178.6 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.3225, allocations: 183.6 kB / 0.5645 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3226, allocations: 12.22 kB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3227, allocations: 115.7 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.323, allocations: 255.5 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.323, allocations: 0 / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3231, allocations: 55.97 kB / 0.565 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.3232, allocations: 79.7 kB / 0.565 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.3233, allocations: 118.9 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.3237, allocations: 277.2 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3237, allocations: 4 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3237, allocations: 0 / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3237, allocations: 0 / 0.5654 GB, free: 0.6992 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008477/0.3245, allocations: 0.6647 MB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3246, allocations: 8.031 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.3246, allocations: 48.61 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.325, allocations: 304.6 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.325, allocations: 4.375 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.325, allocations: 8.359 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3252, allocations: 66.17 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3252, allocations: 3.938 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.3252, allocations: 0 / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3253, allocations: 4 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.3254, allocations: 27.98 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.326, allocations: 412.6 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3261, allocations: 42.56 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.3262, allocations: 20.94 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3262, allocations: 0 / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3262, allocations: 30.56 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3262, allocations: 0 / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001011/0.3272, allocations: 328.6 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3273, allocations: 55.39 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/0.3282, allocations: 0.8737 MB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3282, allocations: 33.62 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.3284, allocations: 232 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.3285, allocations: 27.83 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.3285, allocations: 21.72 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3287, allocations: 358.8 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.169e-05/0.3288, allocations: 27.98 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.3289, allocations: 39.91 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.329, allocations: 72.83 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.329, allocations: 0 / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002683/0.3293, allocations: 153.3 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3293, allocations: 4 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3293, allocations: 4.406 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3293, allocations: 0 / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3294, allocations: 16 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3295, allocations: 0 / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.3295, allocations: 15.92 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.3295, allocations: 0 / 0.5692 GB, free: 12.6 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 (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 0.0002104/0.3297, allocations: 217.8 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.3298, allocations: 47.72 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.3302, allocations: 189.7 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3302, allocations: 0 / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3302, allocations: 4 kB / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3302, allocations: 3.938 kB / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.3309, allocations: 0.5109 MB / 0.5701 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3309, allocations: 0 / 0.5701 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.331, allocations: 19.98 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.331, allocations: 3.938 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.331, allocations: 4 kB / 0.5701 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.331, allocations: 8.016 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.331, allocations: 0 / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.3313, allocations: 248 kB / 0.5704 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3314, allocations: 120.7 kB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.3314, allocations: 0 / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3316, allocations: 11.98 kB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.3316, allocations: 8 kB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3316, allocations: 0 / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006782/0.3323, allocations: 0.6589 MB / 0.5712 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3323, allocations: 0 / 0.5712 GB, free: 10.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.3325, allocations: 28 kB / 0.5712 GB, free: 10.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001682/0.3342, allocations: 464 kB / 0.5716 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3345, allocations: 71.95 kB / 0.5717 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3345, allocations: 0 / 0.5717 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3346, allocations: 35.92 kB / 0.5717 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.335, allocations: 34.3 kB / 0.5718 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3362, allocations: 0.8463 MB / 0.5726 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.3367, allocations: 0.826 MB / 0.5734 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.263e-05/0.3368, allocations: 28.72 kB / 0.5734 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.3368, allocations: 19.36 kB / 0.5735 GB, free: 8.223 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3368, allocations: 0 / 0.5735 GB, free: 8.223 MB / 414.1 MB Notification: Performance of Templates: time 0.005633/0.3424, allocations: 1.803 MB / 0.5752 GB, free: 6.418 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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.973972570616752]