Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001432/0.001432, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001975/0.001975, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.473/1.473, allocations: 230.3 MB / 258 MB, free: 8.203 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.2301/0.2301, allocations: 46.94 MB / 361.4 MB, free: 4.383 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [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.002505/0.002505, allocations: 83.84 kB / 0.4972 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3974, allocations: 66.03 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003258/0.4007, allocations: 1.617 MB / 0.5632 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.4028, allocations: 1.266 MB / 0.5645 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.4029, allocations: 4 kB / 0.5645 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.4031, allocations: 27.84 kB / 0.5645 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.4035, allocations: 79.62 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.4039, allocations: 111.7 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.4041, allocations: 79.75 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.4042, allocations: 10.81 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.4043, allocations: 23.92 kB / 0.5648 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.4045, allocations: 43.77 kB / 0.5648 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.4045, allocations: 0 / 0.5648 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.4047, allocations: 99.88 kB / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.4047, allocations: 15.92 kB / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.4048, allocations: 19.88 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.4051, allocations: 147.2 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4051, allocations: 0 / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4051, allocations: 4 kB / 0.5651 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.4051, allocations: 4 kB / 0.5651 GB, free: 0.9609 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.0006311/0.4058, allocations: 325.6 kB / 0.5654 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4058, allocations: 8.031 kB / 0.5654 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.4059, allocations: 8.891 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.4061, allocations: 146.2 kB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4061, allocations: 384 / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.4061, allocations: 384 / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.4063, allocations: 67.97 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4063, allocations: 192 / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4063, allocations: 3.938 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.4063, allocations: 3.984 kB / 0.5657 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.4064, allocations: 35.91 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.4069, allocations: 248 kB / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.4071, allocations: 54.5 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.4072, allocations: 12.94 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.4072, allocations: 7.938 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.4072, allocations: 34.56 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.4072, allocations: 0 / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006082/0.4079, allocations: 149.4 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.4079, allocations: 77.11 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.4081, allocations: 148.2 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.4081, allocations: 29.7 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.4082, allocations: 92.12 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.4082, allocations: 19.8 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.4083, allocations: 17.72 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4084, allocations: 330.8 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.4085, allocations: 19.98 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.4086, allocations: 33.69 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4088, allocations: 52.83 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4088, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002109/0.409, allocations: 93.58 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.409, allocations: 8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.409, allocations: 0 / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.409, allocations: 0 / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.4091, allocations: 11.94 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4091, allocations: 11.92 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.4091, allocations: 0 / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4091, allocations: 4 kB / 0.5671 GB, free: 14.75 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.0001076/0.4092, allocations: 121.8 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.4093, allocations: 7.953 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.4096, allocations: 102.3 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4096, allocations: 4 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4096, allocations: 0 / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4096, allocations: 4 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.4101, allocations: 329.6 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4101, allocations: 4 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.4101, allocations: 19.92 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4101, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.4101, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.4101, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4101, allocations: 3.938 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.4104, allocations: 183.5 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.4104, allocations: 15.95 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.4104, allocations: 0 / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.4105, allocations: 7.984 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.4106, allocations: 3.938 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.4106, allocations: 4 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.4107, allocations: 113.8 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4107, allocations: 0 / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000302/0.411, allocations: 39.86 kB / 0.568 GB, free: 13.71 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.00182/0.4128, allocations: 0.4917 MB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.4131, allocations: 47.95 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.4131, allocations: 4 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.4131, allocations: 24.11 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.4135, allocations: 11.98 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.414, allocations: 185.6 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.4144, allocations: 0.6924 MB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.097e-05/0.4145, allocations: 19.75 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.4146, allocations: 19.42 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4146, allocations: 0 / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of Templates: time 0.00538/0.4199, allocations: 1.786 MB / 0.5712 GB, free: 10.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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: 5.146156203001738]