Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001713/0.001713, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.002029/0.002029, allocations: 203.7 kB / 25.13 MB, free: 3.578 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.436/1.436, allocations: 230.4 MB / 258.7 MB, free: 8.062 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.2303/0.2303, allocations: 46.93 MB / 362 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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29") [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.002298/0.002298, allocations: 79.86 kB / 0.4978 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3288, allocations: 66.08 MB / 0.5623 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003478/0.3322, allocations: 1.67 MB / 0.564 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3334, allocations: 0.5654 MB / 0.5645 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.3335, allocations: 3.938 kB / 0.5645 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3337, allocations: 35.81 kB / 0.5646 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.334, allocations: 83.62 kB / 0.5646 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.3344, allocations: 123.6 kB / 0.5648 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.3346, allocations: 95.75 kB / 0.5649 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3347, allocations: 19.64 kB / 0.5649 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.198e-05/0.3348, allocations: 35.86 kB / 0.5649 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3349, allocations: 39.83 kB / 0.5649 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3349, allocations: 8 kB / 0.565 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.335, allocations: 39.98 kB / 0.565 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.3351, allocations: 35.78 kB / 0.565 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.3351, allocations: 35.8 kB / 0.5651 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.3353, allocations: 110.2 kB / 0.5652 GB, free: 1.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3353, allocations: 0 / 0.5652 GB, free: 1.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3353, allocations: 4 kB / 0.5652 GB, free: 1.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3353, allocations: 0 / 0.5652 GB, free: 1.34 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005406/0.3359, allocations: 333.7 kB / 0.5655 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3359, allocations: 12.03 kB / 0.5655 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.336, allocations: 12.84 kB / 0.5655 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3362, allocations: 150.3 kB / 0.5657 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3362, allocations: 4.312 kB / 0.5657 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3362, allocations: 8.375 kB / 0.5657 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3364, allocations: 78.23 kB / 0.5657 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3364, allocations: 192 / 0.5657 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3364, allocations: 3.938 kB / 0.5657 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.3364, allocations: 4 kB / 0.5658 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3366, allocations: 43.95 kB / 0.5658 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.337, allocations: 307.7 kB / 0.5661 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3372, allocations: 70.55 kB / 0.5662 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.3373, allocations: 28.78 kB / 0.5662 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3373, allocations: 0 / 0.5662 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3373, allocations: 30.56 kB / 0.5662 GB, free: 152 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.3373, allocations: 0 / 0.5662 GB, free: 152 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001122/0.3384, allocations: 325.3 kB / 0.5665 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3385, allocations: 55.34 kB / 0.5666 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3387, allocations: 169.2 kB / 0.5667 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3387, allocations: 25.7 kB / 0.5668 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.3388, allocations: 108 kB / 0.5669 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.3388, allocations: 43.64 kB / 0.5669 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.3389, allocations: 33.7 kB / 0.5669 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.339, allocations: 318.8 kB / 0.5672 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3391, allocations: 43.97 kB / 0.5673 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.3392, allocations: 55.28 kB / 0.5673 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.3394, allocations: 108.9 kB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3394, allocations: 4 kB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002913/0.3397, allocations: 149.5 kB / 0.5676 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3397, allocations: 4 kB / 0.5676 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3398, allocations: 0 / 0.5676 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3398, allocations: 3.938 kB / 0.5676 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.3399, allocations: 27.92 kB / 0.5676 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3399, allocations: 4 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.34, allocations: 7.984 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.34, allocations: 4 kB / 0.5676 GB, free: 14.63 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 (13): * Single equations (assignments): 13 * 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.0001231/0.3401, allocations: 129.8 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.3401, allocations: 11.95 kB / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.3405, allocations: 190.8 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3405, allocations: 0 / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3406, allocations: 0 / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3406, allocations: 0 / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006913/0.3412, allocations: 466.2 kB / 0.5684 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3412, allocations: 4 kB / 0.5684 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.3413, allocations: 27.98 kB / 0.5684 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3413, allocations: 3.938 kB / 0.5684 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3414, allocations: 7.984 kB / 0.5684 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3414, allocations: 0 / 0.5684 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3414, allocations: 3.938 kB / 0.5684 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.3417, allocations: 263.6 kB / 0.5687 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.3417, allocations: 7.953 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3418, allocations: 4 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.3418, allocations: 11.98 kB / 0.5687 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.3419, allocations: 7.984 kB / 0.5687 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3419, allocations: 11.94 kB / 0.5687 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.342, allocations: 131.2 kB / 0.5689 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.342, allocations: 0 / 0.5689 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3423, allocations: 31.92 kB / 0.5689 GB, free: 13.26 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 (13): * Single equations (assignments): 13 * 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.001677/0.3439, allocations: 450.3 kB / 0.5693 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.3442, allocations: 103.9 kB / 0.5694 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3442, allocations: 0 / 0.5694 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3444, allocations: 59.84 kB / 0.5695 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3448, allocations: 23.2 kB / 0.5695 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.3453, allocations: 271.3 kB / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3457, allocations: 0.708 MB / 0.5704 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.953e-05/0.3458, allocations: 24.47 kB / 0.5705 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.3458, allocations: 27.44 kB / 0.5705 GB, free: 11.71 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3458, allocations: 0 / 0.5705 GB, free: 11.71 MB / 414.1 MB Notification: Performance of Templates: time 0.005003/0.3508, allocations: 1.643 MB / 0.5721 GB, free: 10.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.945258971070871]