Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001825/0.001825, 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.001612/0.001612, allocations: 220.1 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.45/1.45, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2261/0.2261, allocations: 46.89 MB / 361.1 MB, free: 4.668 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34") [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.002644/0.002644, allocations: 79.86 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2946, allocations: 65.98 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003436/0.298, allocations: 1.644 MB / 0.5628 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2991, allocations: 0.5732 MB / 0.5634 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.2991, allocations: 0 / 0.5634 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.2994, allocations: 71.77 kB / 0.5635 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.2997, allocations: 103.6 kB / 0.5636 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.3, allocations: 107.7 kB / 0.5637 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3002, allocations: 83.8 kB / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3004, allocations: 14.66 kB / 0.5638 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.3004, allocations: 39.91 kB / 0.5638 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3006, allocations: 67.73 kB / 0.5639 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3006, allocations: 4 kB / 0.5639 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3007, allocations: 43.98 kB / 0.5639 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.3008, allocations: 19.92 kB / 0.5639 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.3008, allocations: 31.73 kB / 0.564 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.301, allocations: 107.5 kB / 0.5641 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.301, allocations: 0 / 0.5641 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.301, allocations: 0 / 0.5641 GB, free: 2.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.301, allocations: 0 / 0.5641 GB, free: 2.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005691/0.3016, allocations: 426.7 kB / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3016, allocations: 8.031 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.3017, allocations: 16.83 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3019, allocations: 196.9 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3019, allocations: 4.375 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.302, allocations: 8.359 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3021, allocations: 50.25 kB / 0.5647 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3021, allocations: 8.125 kB / 0.5647 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3021, allocations: 7.938 kB / 0.5647 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3021, allocations: 0 / 0.5647 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.3022, allocations: 31.91 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.3027, allocations: 308.7 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3028, allocations: 38.56 kB / 0.5651 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.3029, allocations: 24.94 kB / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3029, allocations: 0 / 0.5651 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.3029, allocations: 34.5 kB / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3029, allocations: 0 / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009528/0.3039, allocations: 237.2 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3039, allocations: 55.41 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.3042, allocations: 214.3 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3042, allocations: 25.7 kB / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.3042, allocations: 108 kB / 0.5658 GB, free: 172 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.3043, allocations: 31.86 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.3043, allocations: 21.72 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3045, allocations: 334.8 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.3046, allocations: 31.91 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.3047, allocations: 32.05 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.3048, allocations: 72.81 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.3048, allocations: 0 / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002363/0.3051, allocations: 113.5 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3051, allocations: 12 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3051, allocations: 0 / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3051, allocations: 0 / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3052, allocations: 15.98 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3052, allocations: 4 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.3053, allocations: 3.984 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3053, allocations: 4 kB / 0.5664 GB, free: 15.48 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.0001125/0.3054, allocations: 137.7 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.3054, allocations: 16.33 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.3058, allocations: 134.9 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3058, allocations: 0 / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3058, allocations: 3.984 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3058, allocations: 3.984 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.3064, allocations: 423.2 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3064, allocations: 4.031 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.3065, allocations: 19.98 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3065, allocations: 4 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3065, allocations: 7.938 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3065, allocations: 3.938 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3065, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.3068, allocations: 212.7 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.3068, allocations: 89.02 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3069, allocations: 7.922 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.3069, allocations: 8 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.307, allocations: 7.984 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.307, allocations: 4 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.3071, allocations: 160.2 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3071, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.3074, allocations: 24 kB / 0.5676 GB, free: 14.12 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.001693/0.3091, allocations: 464.5 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3093, allocations: 67.95 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3093, allocations: 0 / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3094, allocations: 43.91 kB / 0.5682 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3098, allocations: 19.92 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.3103, allocations: 266.6 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3107, allocations: 0.7158 MB / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.3107, allocations: 16.97 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.3108, allocations: 15.44 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3108, allocations: 0 / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Templates: time 0.004508/0.3153, allocations: 1.428 MB / 0.5706 GB, free: 11.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.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.932699264027178]