Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.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.001769/0.001769, allocations: 114.5 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.002292/0.002292, allocations: 209.4 kB / 24.47 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.554/1.554, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2465/0.2465, allocations: 46.9 MB / 361.1 MB, free: 4.645 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16") [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.002332/0.002332, allocations: 84.14 kB / 0.4968 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3925, allocations: 65.98 MB / 0.5613 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003487/0.396, allocations: 1.745 MB / 0.563 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.3978, allocations: 1.053 MB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.3978, allocations: 0 / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.3981, allocations: 35.78 kB / 0.564 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.3985, allocations: 95.59 kB / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3987, allocations: 83.66 kB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.3989, allocations: 103.7 kB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.399, allocations: 7.938 kB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3991, allocations: 47.83 kB / 0.5644 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.3992, allocations: 31.8 kB / 0.5644 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3992, allocations: 4 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.3993, allocations: 43.97 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.3993, allocations: 15.92 kB / 0.5645 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.3994, allocations: 31.75 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.3996, allocations: 130.2 kB / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3996, allocations: 0 / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3996, allocations: 4 kB / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3996, allocations: 0 / 0.5646 GB, free: 1.57 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.0006549/0.4003, allocations: 414.7 kB / 0.565 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4003, allocations: 8.031 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.4004, allocations: 12.84 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.4007, allocations: 212.1 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4007, allocations: 4.375 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.4008, allocations: 8.375 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.401, allocations: 57.92 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.401, allocations: 3.938 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.401, allocations: 11.98 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.401, allocations: 0 / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.4011, allocations: 15.98 kB / 0.5653 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.4015, allocations: 284.9 kB / 0.5656 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.4017, allocations: 58.61 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.4017, allocations: 20.84 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.4018, allocations: 0 / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.4019, allocations: 71.39 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.4019, allocations: 0 / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005856/0.4025, allocations: 181.3 kB / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.4026, allocations: 51.41 kB / 0.566 GB, free: 0 / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.4028, allocations: 179.3 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.4028, allocations: 29.7 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.4029, allocations: 96.14 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.4029, allocations: 31.77 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.403, allocations: 21.72 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4031, allocations: 334.8 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.4032, allocations: 15.98 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.4032, allocations: 41.64 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.4034, allocations: 61.7 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4034, allocations: 0 / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.4036, allocations: 101.5 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4036, allocations: 8.031 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4036, allocations: 0 / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4036, allocations: 4 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.4037, allocations: 15.98 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4037, allocations: 0 / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.4037, allocations: 8 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.4038, allocations: 0 / 0.5669 GB, free: 15.02 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.000113/0.4039, allocations: 136.2 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.4039, allocations: 15.95 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.4041, allocations: 123.1 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4041, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4041, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4041, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.4046, allocations: 391.5 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4046, allocations: 0 / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.4046, allocations: 15.92 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4046, allocations: 0 / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4047, allocations: 8.031 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4047, allocations: 3.938 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4047, allocations: 0 / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.4049, allocations: 204.6 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.4049, allocations: 89.02 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.405, allocations: 0 / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.405, allocations: 19.92 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.4051, allocations: 8 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4051, allocations: 4 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.4052, allocations: 137.6 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4052, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.4055, allocations: 27.94 kB / 0.568 GB, free: 13.75 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.001705/0.4072, allocations: 465.1 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.4074, allocations: 47.98 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4074, allocations: 0 / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.4075, allocations: 27.92 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.4078, allocations: 38.12 kB / 0.5686 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.4083, allocations: 243.2 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4087, allocations: 0.7002 MB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.878e-05/0.4087, allocations: 16.86 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.4088, allocations: 15.44 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4088, allocations: 4 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004964/0.4137, allocations: 1.768 MB / 0.5712 GB, free: 10.56 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.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.3694215370342135]