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.001311/0.001311, 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.001597/0.001597, allocations: 203.5 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.559/1.559, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2524/0.2524, allocations: 46.95 MB / 360.8 MB, free: 4.012 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.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.00235/0.00235, allocations: 75.88 kB / 0.4967 GB, free: 6.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3882, allocations: 66.08 MB / 0.5612 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003743/0.3919, allocations: 1.705 MB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.394, allocations: 0.9787 MB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3941, allocations: 4 kB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.3945, allocations: 51.75 kB / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.3948, allocations: 99.61 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3951, allocations: 79.66 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3953, allocations: 103.6 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3954, allocations: 15.97 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.783e-05/0.3955, allocations: 39.8 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.3956, allocations: 31.8 kB / 0.5643 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3956, allocations: 4 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3957, allocations: 43.97 kB / 0.5643 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.3958, allocations: 27.91 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.3959, allocations: 27.75 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.3961, allocations: 161.6 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3961, allocations: 0 / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3962, allocations: 0 / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3962, allocations: 0 / 0.5645 GB, free: 0.5508 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.0007103/0.3969, allocations: 381.3 kB / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3969, allocations: 8.031 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.397, allocations: 16.84 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.3973, allocations: 151.3 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3973, allocations: 8.375 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3973, allocations: 384 / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3975, allocations: 73.92 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3975, allocations: 0 / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3975, allocations: 0 / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3975, allocations: 0 / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.3976, allocations: 23.97 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.398, allocations: 240.6 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.3983, allocations: 66.53 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.3983, allocations: 20.84 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3984, allocations: 0 / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.3985, allocations: 71.39 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.3985, allocations: 0 / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006346/0.3992, allocations: 193.2 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3992, allocations: 55.34 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.3995, allocations: 278.8 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.3996, allocations: 29.69 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.3997, allocations: 120.1 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.3998, allocations: 27.78 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.3998, allocations: 25.7 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4, allocations: 334.8 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.4001, allocations: 19.98 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.4002, allocations: 41.64 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.4003, allocations: 61.7 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4003, allocations: 0 / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.4005, allocations: 109.5 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4005, allocations: 4 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4005, allocations: 0 / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4005, allocations: 4.188 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4006, allocations: 20.02 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4006, allocations: 3.938 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.4007, allocations: 4 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.4007, allocations: 0 / 0.5668 GB, free: 14.02 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.0001512/0.4008, allocations: 141.7 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.4009, allocations: 15.91 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.4011, allocations: 127 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4011, allocations: 0 / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4012, allocations: 4.312 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4012, allocations: 8 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.4016, allocations: 351 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4016, allocations: 11.94 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.4017, allocations: 11.98 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4017, allocations: 0 / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4017, allocations: 4 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4017, allocations: 0 / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4017, allocations: 0 / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.402, allocations: 220.4 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.402, allocations: 15.89 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.402, allocations: 8.031 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.4021, allocations: 0 / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.4021, allocations: 19.86 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4022, allocations: 4 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.4024, allocations: 204.6 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4024, allocations: 0 / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.4026, allocations: 31.89 kB / 0.5679 GB, free: 12.78 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.001919/0.4046, allocations: 480.1 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4048, allocations: 59.91 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4048, allocations: 0 / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.4049, allocations: 35.92 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.4053, allocations: 34.55 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.4059, allocations: 307.7 kB / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.4061, allocations: 109 kB / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.4061, allocations: 13.28 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.4062, allocations: 15.44 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4062, allocations: 0 / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.005764/0.4119, allocations: 1.969 MB / 0.5709 GB, free: 9.926 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/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: 5.2185672372579575]