Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_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.001439/0.001439, allocations: 113.1 kB / 21.85 MB, free: 68 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.001723/0.001723, allocations: 207.2 kB / 25.12 MB, free: 3.59 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.412/1.412, 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.2224/0.2224, allocations: 46.93 MB / 362 MB, free: 4.238 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.Test25_usertab,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.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.Test25_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.002372/0.002372, allocations: 79.88 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.315, allocations: 66.09 MB / 0.5623 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003189/0.3182, allocations: 1.62 MB / 0.5639 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3192, allocations: 0.5771 MB / 0.5645 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.3193, allocations: 3.938 kB / 0.5645 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.3195, allocations: 31.84 kB / 0.5645 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.3197, allocations: 75.62 kB / 0.5646 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.32, allocations: 115.7 kB / 0.5647 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.3202, allocations: 71.77 kB / 0.5648 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.3203, allocations: 11.66 kB / 0.5648 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.3203, allocations: 35.84 kB / 0.5648 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.3204, allocations: 27.84 kB / 0.5649 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3204, allocations: 4 kB / 0.5649 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.3206, allocations: 99.94 kB / 0.565 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.3206, allocations: 15.88 kB / 0.565 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.3207, allocations: 35.78 kB / 0.565 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.3209, allocations: 130.4 kB / 0.5651 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3209, allocations: 0 / 0.5651 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3209, allocations: 0 / 0.5651 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.321, allocations: 4 kB / 0.5651 GB, free: 1.391 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.0004664/0.3214, allocations: 329.6 kB / 0.5654 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3215, allocations: 8.031 kB / 0.5655 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.3215, allocations: 8.891 kB / 0.5655 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.3217, allocations: 150.3 kB / 0.5656 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.3217, allocations: 384 / 0.5656 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3217, allocations: 4.375 kB / 0.5656 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3219, allocations: 85.67 kB / 0.5657 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3219, allocations: 192 / 0.5657 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3219, allocations: 3.938 kB / 0.5657 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.3219, allocations: 0 / 0.5657 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.048e-05/0.322, allocations: 31.97 kB / 0.5657 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.3224, allocations: 260 kB / 0.566 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3225, allocations: 50.48 kB / 0.566 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.852e-05/0.3226, allocations: 24.94 kB / 0.566 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3226, allocations: 0 / 0.566 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3226, allocations: 38.56 kB / 0.5661 GB, free: 284 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3226, allocations: 0 / 0.5661 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006098/0.3232, allocations: 185.3 kB / 0.5663 GB, free: 92 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.3233, allocations: 84.98 kB / 0.5663 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3235, allocations: 155.9 kB / 0.5665 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3235, allocations: 37.7 kB / 0.5665 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.3236, allocations: 88.14 kB / 0.5666 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3236, allocations: 23.78 kB / 0.5666 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3236, allocations: 29.66 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3238, allocations: 322.8 kB / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.362e-05/0.3239, allocations: 27.98 kB / 0.567 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.324, allocations: 75.39 kB / 0.5671 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.3241, allocations: 68.81 kB / 0.5671 GB, free: 15.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3241, allocations: 0 / 0.5671 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000225/0.3244, allocations: 113.5 kB / 0.5672 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3244, allocations: 4 kB / 0.5672 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3244, allocations: 0 / 0.5672 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.132e-05/0.3244, allocations: 4 kB / 0.5672 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3245, allocations: 16.02 kB / 0.5673 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3245, allocations: 4.312 kB / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.3246, allocations: 11.98 kB / 0.5673 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3246, allocations: 4 kB / 0.5673 GB, free: 14.97 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 9.104e-05/0.3247, allocations: 117.8 kB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.3247, allocations: 8.234 kB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.325, allocations: 114.3 kB / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.325, allocations: 11.98 kB / 0.5675 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.325, allocations: 4 kB / 0.5675 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.325, allocations: 3.984 kB / 0.5675 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.3255, allocations: 369.4 kB / 0.5679 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3255, allocations: 0 / 0.5679 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.3256, allocations: 15.98 kB / 0.5679 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3256, allocations: 0 / 0.5679 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3256, allocations: 0 / 0.5679 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3256, allocations: 7.938 kB / 0.5679 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3256, allocations: 0 / 0.5679 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.3258, allocations: 191.5 kB / 0.5681 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.3259, allocations: 15.94 kB / 0.5681 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3259, allocations: 3.938 kB / 0.5681 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.326, allocations: 11.94 kB / 0.5681 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.326, allocations: 11.92 kB / 0.5681 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.326, allocations: 4 kB / 0.5681 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3261, allocations: 117.8 kB / 0.5682 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3261, allocations: 0 / 0.5682 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3264, allocations: 39.88 kB / 0.5683 GB, free: 13.86 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 (7): * Single equations (assignments): 7 * 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.001663/0.328, allocations: 0.4899 MB / 0.5688 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3283, allocations: 67.95 kB / 0.5688 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3283, allocations: 4 kB / 0.5688 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.3284, allocations: 35.91 kB / 0.5689 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3287, allocations: 18.86 kB / 0.5689 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.3291, allocations: 193.8 kB / 0.5691 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.3294, allocations: 0.6963 MB / 0.5697 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.837e-05/0.3295, allocations: 24.95 kB / 0.5698 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.3296, allocations: 19.42 kB / 0.5698 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3296, allocations: 0 / 0.5698 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Templates: time 0.005069/0.3346, allocations: 1.986 MB / 0.5717 GB, free: 10.44 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_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: 4.926693506073207]