Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001701/0.001701, 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.002046/0.002046, allocations: 211.8 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.497/1.497, allocations: 230.3 MB / 257.9 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.9 MB / 361.3 MB, free: 4.445 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 75.88 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3947, allocations: 66.03 MB / 0.5616 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003517/0.3982, allocations: 1.754 MB / 0.5633 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.4001, allocations: 1.041 MB / 0.5643 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.4002, allocations: 0 / 0.5643 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.4005, allocations: 91.69 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.4009, allocations: 123.4 kB / 0.5645 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.4011, allocations: 71.75 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.4013, allocations: 119.7 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4015, allocations: 4 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.4016, allocations: 67.69 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.4017, allocations: 55.77 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.4017, allocations: 4 kB / 0.5648 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.4018, allocations: 51.97 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.4019, allocations: 27.92 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.402, allocations: 39.67 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.4022, allocations: 122 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4022, allocations: 0 / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4022, allocations: 0 / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4022, allocations: 0 / 0.5651 GB, free: 1.035 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.0006188/0.4028, allocations: 361.4 kB / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4029, allocations: 12.03 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.4029, allocations: 20.83 kB / 0.5654 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.4032, allocations: 150.8 kB / 0.5656 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.4033, allocations: 12.36 kB / 0.5656 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.4033, allocations: 384 / 0.5656 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.4035, allocations: 57.98 kB / 0.5657 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4035, allocations: 4 kB / 0.5657 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4035, allocations: 4 kB / 0.5657 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4035, allocations: 0 / 0.5657 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.692e-05/0.4036, allocations: 19.92 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.404, allocations: 275.9 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.4042, allocations: 54.67 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.4043, allocations: 20.84 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.4043, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.4045, allocations: 71.33 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.4045, allocations: 4 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000609/0.4051, allocations: 173.3 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.4051, allocations: 51.41 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.4054, allocations: 219.6 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.4054, allocations: 29.7 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.4055, allocations: 104.1 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.4055, allocations: 31.78 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.4056, allocations: 25.66 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4057, allocations: 330.8 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.4058, allocations: 19.98 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.406, allocations: 37.64 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.4061, allocations: 65.64 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4061, allocations: 4 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.4063, allocations: 97.58 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4063, allocations: 10.03 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4063, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4063, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4064, allocations: 19.92 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4064, allocations: 4 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.4065, allocations: 4 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.4065, allocations: 4 kB / 0.5673 GB, free: 14.58 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.0001443/0.4066, allocations: 141.8 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.4067, allocations: 11.91 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.4069, allocations: 115 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.4069, allocations: 0 / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.407, allocations: 0 / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.407, allocations: 0 / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.4077, allocations: 382.7 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4077, allocations: 0 / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.4077, allocations: 12 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4077, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4077, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4077, allocations: 7.938 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4077, allocations: 320 / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.408, allocations: 216.2 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.408, allocations: 7.953 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.408, allocations: 0 / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.4081, allocations: 7.938 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.4082, allocations: 11.98 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.4082, allocations: 0 / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.4084, allocations: 173.1 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4084, allocations: 0 / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.4086, allocations: 35.88 kB / 0.5683 GB, free: 13.39 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.001818/0.4105, allocations: 450.2 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.4107, allocations: 59.89 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4107, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.4107, allocations: 32 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.4111, allocations: 35.22 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.4117, allocations: 251.3 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.4122, allocations: 0.7119 MB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.948e-05/0.4122, allocations: 21.28 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.4123, allocations: 19.42 kB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4123, allocations: 0 / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of Templates: time 0.005635/0.4179, allocations: 1.772 MB / 0.5716 GB, free: 10.17 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.197682071477175]