Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001407/0.001407, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001549/0.001549, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.508/1.508, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.2273/0.2273, allocations: 46.95 MB / 361.6 MB, free: 3.898 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 84.06 kB / 0.4974 GB, free: 6.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4062, allocations: 66.09 MB / 0.562 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.004308/0.4105, allocations: 1.704 MB / 0.5636 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4126, allocations: 0.9787 MB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.4127, allocations: 4 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.413, allocations: 43.77 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.4135, allocations: 103.6 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.4137, allocations: 83.66 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.414, allocations: 107.6 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.4141, allocations: 4 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.4142, allocations: 51.77 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.4143, allocations: 27.8 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.4144, allocations: 4 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.4145, allocations: 39.98 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.4146, allocations: 31.91 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.4147, allocations: 35.73 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.415, allocations: 149.8 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.415, allocations: 3.938 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.415, allocations: 0 / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.415, allocations: 4 kB / 0.5653 GB, free: 0.5352 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.0006859/0.4157, allocations: 369.3 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4157, allocations: 8.031 kB / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.4158, allocations: 16.84 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.4162, allocations: 163.3 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4162, allocations: 384 / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.4162, allocations: 8.375 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.4164, allocations: 57.98 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.4164, allocations: 3.938 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4164, allocations: 0 / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4164, allocations: 0 / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.4165, allocations: 23.98 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.417, allocations: 244.5 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.4172, allocations: 62.56 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.4172, allocations: 20.84 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.4172, allocations: 4 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.4174, allocations: 71.38 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.4174, allocations: 0 / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006923/0.4181, allocations: 197.2 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.4181, allocations: 51.41 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.4185, allocations: 278.7 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4185, allocations: 25.7 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.4186, allocations: 120.1 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.4186, allocations: 31.72 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.4187, allocations: 25.72 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4188, allocations: 334.8 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.4189, allocations: 20 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.419, allocations: 41.64 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.4191, allocations: 61.7 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4191, allocations: 0 / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002202/0.4193, allocations: 113.5 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4193, allocations: 4 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4193, allocations: 8.031 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4194, allocations: 0 / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.4194, allocations: 15.98 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4195, allocations: 384 / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.4195, allocations: 8 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4195, allocations: 4 kB / 0.5675 GB, free: 14 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.000129/0.4196, allocations: 137.8 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.4197, allocations: 19.84 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.42, allocations: 123.2 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.42, allocations: 4 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.42, allocations: 7.984 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.42, allocations: 3.938 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.4205, allocations: 355 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4205, allocations: 0 / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.4205, allocations: 11.94 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4205, allocations: 0 / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.4206, allocations: 11.98 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4206, allocations: 0 / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4206, allocations: 288 / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.4208, allocations: 224.1 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.4209, allocations: 15.91 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.4209, allocations: 4 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.421, allocations: 7.984 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.421, allocations: 3.938 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.421, allocations: 7.984 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.4213, allocations: 204.6 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4213, allocations: 0 / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000307/0.4216, allocations: 39.81 kB / 0.5687 GB, free: 12.76 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 (9): * Single equations (assignments): 7 * 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.001953/0.4235, allocations: 476.8 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.4237, allocations: 59.91 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4237, allocations: 0 / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.4238, allocations: 31.92 kB / 0.5692 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.0003786/0.4242, allocations: 35.67 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.4249, allocations: 325.4 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.425, allocations: 109 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.4251, allocations: 15.44 kB / 0.5697 GB, free: 11.85 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4251, allocations: 0 / 0.5697 GB, free: 11.85 MB / 414.1 MB Notification: Performance of Templates: time 0.006105/0.4312, allocations: 2.169 MB / 0.5718 GB, free: 9.672 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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: 8.150317552033812]