Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.001724/0.001724, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001903/0.001903, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.536/1.536, allocations: 230.3 MB / 258 MB, free: 8.223 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.3223/0.3223, allocations: 46.94 MB / 361.4 MB, free: 4.477 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56") [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.002446/0.002446, allocations: 79.86 kB / 0.4972 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.4, allocations: 66.04 MB / 0.5617 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003205/0.4032, allocations: 1.74 MB / 0.5634 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.406, allocations: 1.734 MB / 0.5651 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.4061, allocations: 11.88 kB / 0.5651 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.4064, allocations: 35.83 kB / 0.5652 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.4067, allocations: 103.5 kB / 0.5653 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.407, allocations: 83.66 kB / 0.5653 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.4073, allocations: 103.7 kB / 0.5654 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.4074, allocations: 11.98 kB / 0.5654 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.4075, allocations: 51.72 kB / 0.5655 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.4077, allocations: 39.83 kB / 0.5655 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.4077, allocations: 8 kB / 0.5655 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.408, allocations: 115.9 kB / 0.5657 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.408, allocations: 19.92 kB / 0.5657 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.4081, allocations: 35.8 kB / 0.5657 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.4085, allocations: 166.2 kB / 0.5659 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4085, allocations: 7.938 kB / 0.5659 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4085, allocations: 0 / 0.5659 GB, free: 388 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.4085, allocations: 0 / 0.5659 GB, free: 388 kB / 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.0006764/0.4091, allocations: 357.4 kB / 0.5662 GB, free: 0 / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.4092, allocations: 8.078 kB / 0.5662 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.4093, allocations: 12.84 kB / 0.5662 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.4096, allocations: 154.4 kB / 0.5664 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4096, allocations: 8.359 kB / 0.5664 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.4097, allocations: 12.11 kB / 0.5664 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.4099, allocations: 71.39 kB / 0.5665 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4099, allocations: 3.938 kB / 0.5665 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4099, allocations: 3.938 kB / 0.5665 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4099, allocations: 0 / 0.5665 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.41, allocations: 19.98 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.4105, allocations: 259.9 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.4107, allocations: 58.61 kB / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.289e-05/0.4107, allocations: 16.86 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.4108, allocations: 3.984 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.4109, allocations: 71.39 kB / 0.5669 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4109, allocations: 0 / 0.5669 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005775/0.4115, allocations: 173.3 kB / 0.5671 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.4116, allocations: 81.09 kB / 0.5671 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4117, allocations: 166.5 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4118, allocations: 25.7 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.4118, allocations: 96.14 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.4119, allocations: 31.73 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.4119, allocations: 25.72 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.412, allocations: 322.8 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.4121, allocations: 23.98 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.4122, allocations: 46.5 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4123, allocations: 53.7 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4123, allocations: 0 / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002356/0.4125, allocations: 109.6 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4126, allocations: 4 kB / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4126, allocations: 0 / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4126, allocations: 0 / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.4127, allocations: 19.98 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4127, allocations: 160 / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.4127, allocations: 8.312 kB / 0.568 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4127, allocations: 7.984 kB / 0.568 GB, free: 13.96 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.0001111/0.4128, allocations: 125.8 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.4129, allocations: 11.94 kB / 0.5682 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.4131, allocations: 106.4 kB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4131, allocations: 0 / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.4131, allocations: 7.984 kB / 0.5683 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4131, allocations: 7.938 kB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.4136, allocations: 370.3 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4136, allocations: 32 / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.4137, allocations: 12 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.4137, allocations: 0 / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4137, allocations: 8.125 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4137, allocations: 0 / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4137, allocations: 3.938 kB / 0.5687 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.4139, allocations: 200.3 kB / 0.5688 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.414, allocations: 15.94 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.414, allocations: 7.938 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.4141, allocations: 4 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.4141, allocations: 7.984 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.4141, allocations: 4 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.4143, allocations: 127.9 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4143, allocations: 0 / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.4146, allocations: 47.86 kB / 0.569 GB, free: 12.82 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.001937/0.4165, allocations: 0.5426 MB / 0.5696 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.4167, allocations: 59.95 kB / 0.5696 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4167, allocations: 0 / 0.5696 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.46e-05/0.4168, allocations: 27.94 kB / 0.5697 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4171, allocations: 36.08 kB / 0.5697 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.4177, allocations: 206.7 kB / 0.5699 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.418, allocations: 0.6924 MB / 0.5706 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.8e-05/0.4181, allocations: 25.27 kB / 0.5706 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.4181, allocations: 27.42 kB / 0.5706 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4181, allocations: 0 / 0.5706 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.006719/0.4248, allocations: 2.385 MB / 0.5729 GB, free: 8.961 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.577655538916588]