Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.00135/0.00135, allocations: 110.5 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.001651/0.001651, allocations: 211.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.538/1.538, allocations: 230.3 MB / 258 MB, free: 8.184 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.2319/0.2319, allocations: 46.94 MB / 361.4 MB, free: 4.367 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") [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.002406/0.002406, allocations: 83.86 kB / 0.4972 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4012, allocations: 66.04 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003478/0.4047, allocations: 1.745 MB / 0.5634 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.4064, allocations: 1.049 MB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.4065, allocations: 0 / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.4069, allocations: 91.62 kB / 0.5645 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.4073, allocations: 119.5 kB / 0.5647 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.4075, allocations: 67.75 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.4077, allocations: 119.7 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4078, allocations: 15.94 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.408, allocations: 63.69 kB / 0.5649 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.4081, allocations: 59.81 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.4081, allocations: 4 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.4082, allocations: 47.92 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.4083, allocations: 23.92 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.4084, allocations: 39.67 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.4086, allocations: 126 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4086, allocations: 0 / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4086, allocations: 0 / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.4086, allocations: 4 kB / 0.5652 GB, free: 0.9414 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.0005641/0.4092, allocations: 357.5 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4092, allocations: 11.97 kB / 0.5656 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.4093, allocations: 12.84 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.4096, allocations: 166.8 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4096, allocations: 384 / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.4096, allocations: 384 / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.4098, allocations: 61.98 kB / 0.5658 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4098, allocations: 4 kB / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4098, allocations: 0 / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4098, allocations: 0 / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.4099, allocations: 23.97 kB / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.4105, allocations: 275.8 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.4106, allocations: 50.67 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.4107, allocations: 24.84 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4107, allocations: 0 / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.4109, allocations: 71.33 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4109, allocations: 0 / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005911/0.4115, allocations: 173.3 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.4116, allocations: 51.41 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.4118, allocations: 223.6 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4118, allocations: 29.7 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.4119, allocations: 108.1 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.412, allocations: 31.72 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.412, allocations: 17.72 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4122, allocations: 330.8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.4122, allocations: 19.98 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.4123, allocations: 41.64 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.4124, allocations: 69.62 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4124, allocations: 0 / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.4126, allocations: 97.59 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4126, allocations: 6.188 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4126, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4127, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4128, allocations: 32.33 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4128, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.4128, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4128, allocations: 8 kB / 0.5674 GB, free: 14.48 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.0001206/0.4129, allocations: 133.8 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.413, allocations: 11.91 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.4132, allocations: 119.1 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4132, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4132, allocations: 4 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4132, allocations: 0 / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.4137, allocations: 378.3 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4137, allocations: 0 / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.4138, allocations: 8 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4138, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.4138, allocations: 4 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4138, allocations: 3.938 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4138, allocations: 0 / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.414, allocations: 216.2 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.4141, allocations: 7.953 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.4141, allocations: 4 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.4141, allocations: 3.938 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.4142, allocations: 11.98 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.4142, allocations: 7.938 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.4144, allocations: 173.1 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4144, allocations: 0 / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.4146, allocations: 31.88 kB / 0.5685 GB, free: 13.3 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.001697/0.4163, allocations: 442.2 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.4165, allocations: 55.91 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4165, allocations: 0 / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.4166, allocations: 27.94 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.417, allocations: 38.38 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.4175, allocations: 247.4 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.4178, allocations: 0.7158 MB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.4179, allocations: 17.27 kB / 0.57 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.4179, allocations: 19.42 kB / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4179, allocations: 0 / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of Templates: time 0.005366/0.4233, allocations: 1.797 MB / 0.5717 GB, free: 10.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.526026658713818]