Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.001287/0.001287, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001435/0.001435, allocations: 205.1 kB / 23.72 MB, free: 4.391 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.594/1.594, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2513/0.2513, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 83.8 kB / 0.4967 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3875, allocations: 66.09 MB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004148/0.3917, allocations: 1.702 MB / 0.5629 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.3939, allocations: 0.9748 MB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.394, allocations: 0 / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.3943, allocations: 39.77 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.3947, allocations: 95.59 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.3949, allocations: 71.69 kB / 0.5641 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.3951, allocations: 111.7 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3952, allocations: 4 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3953, allocations: 51.78 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3955, allocations: 39.72 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.3955, allocations: 4 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3956, allocations: 39.98 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.3956, allocations: 15.92 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.3957, allocations: 31.78 kB / 0.5643 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.396, allocations: 125.9 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.396, allocations: 0 / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.396, allocations: 3.938 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.396, allocations: 0 / 0.5645 GB, free: 0.6172 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.0006585/0.3967, allocations: 341.6 kB / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3967, allocations: 8.031 kB / 0.5648 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.3968, allocations: 12.84 kB / 0.5648 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3971, allocations: 150.3 kB / 0.565 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3971, allocations: 384 / 0.565 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3971, allocations: 4.375 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.3974, allocations: 54.25 kB / 0.565 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3975, allocations: 3.938 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3975, allocations: 4 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3975, allocations: 0 / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.941e-05/0.3976, allocations: 35.92 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.398, allocations: 224.6 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.3982, allocations: 66.59 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.3982, allocations: 24.78 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.3982, allocations: 3.938 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.3984, allocations: 67.39 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.3984, allocations: 0 / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006151/0.399, allocations: 181.3 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.3991, allocations: 55.41 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3993, allocations: 191.2 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3993, allocations: 25.7 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.3994, allocations: 108.1 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3994, allocations: 19.86 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.3995, allocations: 29.64 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3996, allocations: 326.8 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.094e-05/0.3997, allocations: 19.98 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.3998, allocations: 33.7 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3999, allocations: 73.58 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3999, allocations: 0 / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.4001, allocations: 113.6 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4001, allocations: 4 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4001, allocations: 4 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4001, allocations: 0 / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.4002, allocations: 15.98 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4002, allocations: 0 / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.4003, allocations: 4 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4003, allocations: 4.031 kB / 0.5666 GB, free: 14.26 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.0001313/0.4004, allocations: 136 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.4005, allocations: 7.953 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.4007, allocations: 123 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4007, allocations: 4 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4007, allocations: 0 / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4007, allocations: 0 / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.4013, allocations: 350.9 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4013, allocations: 384 / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.4014, allocations: 15.97 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.4014, allocations: 4 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4014, allocations: 4 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4014, allocations: 7.922 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4014, allocations: 0 / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.4017, allocations: 224.4 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.4017, allocations: 7.953 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.4017, allocations: 4 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.4018, allocations: 7.984 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.4018, allocations: 4 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.4019, allocations: 15.92 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.4021, allocations: 136.9 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4021, allocations: 0 / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.4024, allocations: 23.98 kB / 0.5676 GB, free: 13.12 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.001871/0.4042, allocations: 483 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.4044, allocations: 59.91 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4044, allocations: 0 / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.4045, allocations: 31.92 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.4049, allocations: 39.3 kB / 0.5682 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.4055, allocations: 227.3 kB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.4056, allocations: 96.3 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.68e-05/0.4056, allocations: 8.984 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.4057, allocations: 19.42 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4057, allocations: 0 / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Templates: time 0.005585/0.4113, allocations: 1.906 MB / 0.5704 GB, free: 10.42 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.246280867606401]