Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.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.001413/0.001413, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.0017/0.0017, allocations: 203 kB / 24.46 MB, free: 4.023 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.581/1.581, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2623/0.2623, allocations: 46.9 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53") [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.002945/0.002945, allocations: 83.86 kB / 0.4968 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.4978, allocations: 65.99 MB / 0.5613 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004611/0.5025, allocations: 1.741 MB / 0.563 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.5053, allocations: 1.045 MB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.832e-05/0.5054, allocations: 0 / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.5058, allocations: 59.69 kB / 0.5641 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.5063, allocations: 95.55 kB / 0.5642 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.5066, allocations: 83.66 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.5069, allocations: 95.77 kB / 0.5643 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.507, allocations: 15.91 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.5071, allocations: 35.86 kB / 0.5644 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.5072, allocations: 39.78 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.5073, allocations: 4 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.5074, allocations: 43.97 kB / 0.5645 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.006e-05/0.5075, allocations: 27.86 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.5076, allocations: 39.69 kB / 0.5645 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.5079, allocations: 134.2 kB / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5079, allocations: 0 / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5079, allocations: 0 / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.5079, allocations: 0 / 0.5647 GB, free: 1.531 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008871/0.5088, allocations: 438.6 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.5089, allocations: 12.03 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.5089, allocations: 8.891 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.5094, allocations: 224.8 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.5095, allocations: 4.375 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.5095, allocations: 4.375 kB / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.5097, allocations: 53.98 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.5097, allocations: 4 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.5098, allocations: 7.984 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5098, allocations: 3.938 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.5099, allocations: 23.98 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.5105, allocations: 292.8 kB / 0.5657 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.5108, allocations: 58.61 kB / 0.5657 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.5109, allocations: 16.86 kB / 0.5658 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.5109, allocations: 3.984 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.5111, allocations: 71.39 kB / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.5111, allocations: 0 / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009943/0.5121, allocations: 173.4 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.5122, allocations: 55.41 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.5126, allocations: 234.9 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.5126, allocations: 29.69 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.5127, allocations: 112.1 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.5128, allocations: 27.78 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.5129, allocations: 25.72 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.5131, allocations: 338.7 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.5132, allocations: 12 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.5133, allocations: 41.64 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.5135, allocations: 65.77 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5135, allocations: 4 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003573/0.5139, allocations: 105.5 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5139, allocations: 4 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5139, allocations: 3.984 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5139, allocations: 7.984 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5141, allocations: 12 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5141, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.5142, allocations: 11.94 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5142, allocations: 0 / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001854/0.5144, allocations: 141.8 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.5144, allocations: 11.91 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.5148, allocations: 111.1 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5149, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5149, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.5149, allocations: 3.984 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008212/0.5157, allocations: 403.3 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5157, allocations: 8.344 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.128e-05/0.5158, allocations: 15.92 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.5158, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.5158, allocations: 8 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.5158, allocations: 3.938 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5158, allocations: 0 / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.5162, allocations: 200.3 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.5163, allocations: 93.02 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.5164, allocations: 7.984 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.5165, allocations: 7.938 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.5166, allocations: 4 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.5166, allocations: 4 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002832/0.5169, allocations: 180.3 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5169, allocations: 0 / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005016/0.5174, allocations: 27.92 kB / 0.5682 GB, free: 13.53 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002742/0.5201, allocations: 463.7 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.5204, allocations: 55.91 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5204, allocations: 0 / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.5205, allocations: 32.05 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.5212, allocations: 34.53 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.522, allocations: 279 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.5225, allocations: 0.7119 MB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.716e-05/0.5226, allocations: 20.89 kB / 0.5698 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.5227, allocations: 19.42 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5227, allocations: 0 / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of Templates: time 0.008684/0.5314, allocations: 1.781 MB / 0.5715 GB, free: 10.28 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.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.646325613372028]