Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.008021/0.008021, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.001911/0.001911, allocations: 220.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.497/1.497, allocations: 230.5 MB / 258.9 MB, free: 8.004 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.2168/0.2168, allocations: 46.93 MB / 362.3 MB, free: 4.203 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12") [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.002357/0.002357, allocations: 75.88 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3184, allocations: 66.09 MB / 0.5628 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003552/0.322, allocations: 1.613 MB / 0.5643 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3235, allocations: 0.5615 MB / 0.5649 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.3235, allocations: 8 kB / 0.5649 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.3238, allocations: 31.78 kB / 0.5649 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.3241, allocations: 75.67 kB / 0.565 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.3246, allocations: 111.7 kB / 0.5651 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3248, allocations: 67.77 kB / 0.5652 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3249, allocations: 8 kB / 0.5652 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.325, allocations: 27.92 kB / 0.5652 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.325, allocations: 23.84 kB / 0.5652 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3251, allocations: 4 kB / 0.5652 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3252, allocations: 28 kB / 0.5652 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.3252, allocations: 19.92 kB / 0.5653 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.3253, allocations: 31.73 kB / 0.5653 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.3255, allocations: 89.98 kB / 0.5654 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3255, allocations: 0 / 0.5654 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3255, allocations: 0 / 0.5654 GB, free: 1.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3255, allocations: 0 / 0.5654 GB, free: 1.562 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006064/0.3261, allocations: 317.8 kB / 0.5657 GB, free: 1.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3262, allocations: 8.031 kB / 0.5657 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.3262, allocations: 16.84 kB / 0.5657 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.3264, allocations: 138.9 kB / 0.5658 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3264, allocations: 384 / 0.5658 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3265, allocations: 8.359 kB / 0.5658 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3266, allocations: 49.75 kB / 0.5659 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3266, allocations: 0 / 0.5659 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3266, allocations: 0 / 0.5659 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3266, allocations: 4 kB / 0.5659 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.435e-05/0.3267, allocations: 27.97 kB / 0.5659 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.3271, allocations: 255.9 kB / 0.5662 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3273, allocations: 46.5 kB / 0.5662 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.3274, allocations: 16.94 kB / 0.5662 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3274, allocations: 8 kB / 0.5662 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3274, allocations: 30.56 kB / 0.5663 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3274, allocations: 0 / 0.5663 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005767/0.328, allocations: 153.4 kB / 0.5664 GB, free: 380 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3281, allocations: 55.41 kB / 0.5665 GB, free: 312 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3283, allocations: 178.5 kB / 0.5666 GB, free: 116 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3283, allocations: 25.7 kB / 0.5667 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.3284, allocations: 96.22 kB / 0.5668 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.3284, allocations: 19.83 kB / 0.5668 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.3284, allocations: 17.72 kB / 0.5668 GB, free: 15.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3286, allocations: 326.7 kB / 0.5671 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/0.3287, allocations: 19.98 kB / 0.5671 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.3287, allocations: 23.98 kB / 0.5671 GB, free: 15.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3289, allocations: 56.95 kB / 0.5672 GB, free: 15.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3289, allocations: 4 kB / 0.5672 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001969/0.3291, allocations: 93.56 kB / 0.5673 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3291, allocations: 4 kB / 0.5673 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3291, allocations: 0 / 0.5673 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3291, allocations: 0 / 0.5673 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.3292, allocations: 15.98 kB / 0.5673 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3292, allocations: 4 kB / 0.5673 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.3292, allocations: 4 kB / 0.5673 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3292, allocations: 0 / 0.5673 GB, free: 15.38 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 (5): * Single equations (assignments): 5 * 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.000105/0.3293, allocations: 125.8 kB / 0.5674 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3294, allocations: 11.89 kB / 0.5674 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.3296, allocations: 102 kB / 0.5675 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3296, allocations: 0 / 0.5675 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3296, allocations: 4 kB / 0.5675 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3296, allocations: 288 / 0.5675 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.3301, allocations: 337.4 kB / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3301, allocations: 0 / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.3301, allocations: 15.98 kB / 0.5679 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3302, allocations: 3.938 kB / 0.5679 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3302, allocations: 3.984 kB / 0.5679 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3302, allocations: 3.938 kB / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3302, allocations: 4 kB / 0.5679 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3304, allocations: 183.7 kB / 0.5681 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.3304, allocations: 15.91 kB / 0.5681 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.3304, allocations: 0 / 0.5681 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.3305, allocations: 11.92 kB / 0.5681 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.3305, allocations: 3.938 kB / 0.5681 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.3305, allocations: 8 kB / 0.5681 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.3307, allocations: 139.9 kB / 0.5682 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3307, allocations: 0 / 0.5682 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.3309, allocations: 19.94 kB / 0.5683 GB, free: 14.32 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 (5): * Single equations (assignments): 5 * 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.001423/0.3323, allocations: 390.9 kB / 0.5686 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.3325, allocations: 47.91 kB / 0.5687 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3325, allocations: 4 kB / 0.5687 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.3326, allocations: 32.03 kB / 0.5687 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3329, allocations: 12.12 kB / 0.5687 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.3334, allocations: 243.5 kB / 0.569 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.3338, allocations: 0.7002 MB / 0.5696 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.3338, allocations: 15.44 kB / 0.5697 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3338, allocations: 0 / 0.5697 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.003532/0.3373, allocations: 1.508 MB / 0.5711 GB, free: 11.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.708253283984959]