Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001304/0.001304, allocations: 117 kB / 21.85 MB, free: 72 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.001441/0.001441, allocations: 213.1 kB / 25.13 MB, free: 3.582 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.445/1.445, allocations: 230.4 MB / 258.7 MB, free: 8.066 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.2289/0.2289, allocations: 46.92 MB / 362 MB, free: 4.258 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.002378/0.002378, allocations: 79.88 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3223, allocations: 66.09 MB / 0.5624 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003194/0.3255, allocations: 1.695 MB / 0.564 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3265, allocations: 0.5654 MB / 0.5646 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.3266, allocations: 4 kB / 0.5646 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.3268, allocations: 71.78 kB / 0.5646 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.3272, allocations: 107.6 kB / 0.5647 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.3275, allocations: 143.1 kB / 0.5649 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3277, allocations: 75.83 kB / 0.5649 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3278, allocations: 24.22 kB / 0.565 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.513e-05/0.3279, allocations: 47.77 kB / 0.565 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.328, allocations: 55.81 kB / 0.5651 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.328, allocations: 4 kB / 0.5651 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3281, allocations: 51.92 kB / 0.5651 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.3282, allocations: 27.92 kB / 0.5651 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.3282, allocations: 35.72 kB / 0.5652 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3285, allocations: 129.8 kB / 0.5653 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3285, allocations: 0 / 0.5653 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3285, allocations: 0 / 0.5653 GB, free: 1.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3285, allocations: 4 kB / 0.5653 GB, free: 1.254 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.000556/0.3291, allocations: 345.6 kB / 0.5656 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3291, allocations: 12.03 kB / 0.5657 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.3291, allocations: 8.891 kB / 0.5657 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3294, allocations: 143 kB / 0.5658 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3294, allocations: 4.375 kB / 0.5658 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.3294, allocations: 384 / 0.5658 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3296, allocations: 70.17 kB / 0.5659 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3296, allocations: 8.172 kB / 0.5659 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3296, allocations: 3.938 kB / 0.5659 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3296, allocations: 0 / 0.5659 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.3298, allocations: 39.91 kB / 0.5659 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.3302, allocations: 287.7 kB / 0.5662 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.3304, allocations: 58.55 kB / 0.5662 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.3305, allocations: 24.97 kB / 0.5663 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3305, allocations: 0 / 0.5663 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3306, allocations: 30.56 kB / 0.5663 GB, free: 116 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.3306, allocations: 4 kB / 0.5663 GB, free: 112 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001431/0.332, allocations: 409 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.332, allocations: 51.41 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3323, allocations: 214.2 kB / 0.5669 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3323, allocations: 25.7 kB / 0.567 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.3324, allocations: 112.1 kB / 0.5671 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.3324, allocations: 35.69 kB / 0.5671 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.3325, allocations: 29.72 kB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3326, allocations: 318.8 kB / 0.5674 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.3327, allocations: 47.95 kB / 0.5675 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3328, allocations: 39.97 kB / 0.5675 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.3331, allocations: 100.8 kB / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3331, allocations: 0 / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003146/0.3334, allocations: 153.4 kB / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3334, allocations: 4 kB / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3334, allocations: 0 / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3334, allocations: 0 / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3335, allocations: 23.98 kB / 0.5678 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3335, allocations: 4 kB / 0.5678 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.3336, allocations: 19.92 kB / 0.5678 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3336, allocations: 4 kB / 0.5678 GB, free: 14.49 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 (11): * Single equations (assignments): 11 * 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.3337, allocations: 133.8 kB / 0.568 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.3338, allocations: 11.91 kB / 0.568 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.3342, allocations: 163 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3342, allocations: 4 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3342, allocations: 0.5625 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3342, allocations: 3.938 kB / 0.5681 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/0.3349, allocations: 443.1 kB / 0.5685 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3349, allocations: 4.062 kB / 0.5686 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.335, allocations: 32.02 kB / 0.5686 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.3351, allocations: 7.938 kB / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3351, allocations: 4 kB / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3351, allocations: 3.938 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3351, allocations: 7.984 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.3354, allocations: 245.6 kB / 0.5688 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.3355, allocations: 19.83 kB / 0.5689 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3355, allocations: 8 kB / 0.5689 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.3356, allocations: 4 kB / 0.5689 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.3356, allocations: 7.984 kB / 0.5689 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3356, allocations: 15.92 kB / 0.5689 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3358, allocations: 168.2 kB / 0.5691 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3358, allocations: 0 / 0.5691 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3361, allocations: 23.94 kB / 0.5691 GB, free: 13.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00175/0.3378, allocations: 458.6 kB / 0.5695 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.3382, allocations: 107.8 kB / 0.5696 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3382, allocations: 0 / 0.5696 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3383, allocations: 55.91 kB / 0.5697 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3387, allocations: 28.05 kB / 0.5697 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.3393, allocations: 296.7 kB / 0.57 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.3397, allocations: 0.7196 MB / 0.5707 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.3397, allocations: 16.48 kB / 0.5707 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.3398, allocations: 15.44 kB / 0.5707 GB, free: 11.52 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3398, allocations: 0 / 0.5707 GB, free: 11.52 MB / 414.1 MB Notification: Performance of Templates: time 0.004771/0.3445, allocations: 1.628 MB / 0.5723 GB, free: 9.906 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.939263502135873]